Difference between revisions of "Datree GitLab CI example"

From wikieduonline
Jump to navigation Jump to search
(Created page with " <pre> image: node:14 stages: - test test: stage: test script: - curl https://get.datree.io | /bin/bash - datree test ~/.datree/k8s-demo.yaml </pre> * {{d...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 +
* Get your account token
 +
* Set <code>[[DATREE_TOKEN]]</code> as a secret/environment variable
  
 
+
https://hub.datree.io/cicd-examples/gitLab-ci-cd
 
 
 
<pre>
 
<pre>
 
image: node:14
 
image: node:14
Line 16: Line 18:
  
  
 +
== See also ==
 +
* {{datree}}
  
* {{datree}}
+
[[Category:Datree]]

Latest revision as of 09:59, 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


See also[edit]

Advertising: