Difference between revisions of "Datree GitLab CI example"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | + | * Get your account token | |
| − | + | * Set DATREE_TOKEN as a secret/environment variable | |
| − | |||
https://hub.datree.io/cicd-examples/gitLab-ci-cd | https://hub.datree.io/cicd-examples/gitLab-ci-cd | ||
Revision as of 09:56, 6 September 2022
- Get your account token
- Set DATREE_TOKEN as a secret/environment variable
https://hub.datree.io/cicd-examples/gitLab-ci-cd
image: node:14
stages:
- test
test:
stage: test
script:
- curl https://get.datree.io | /bin/bash
- datree test ~/.datree/k8s-demo.yaml
datree [ test | config | --help ] DATREE_TOKEN
Advertising: