datree GitLab CI example

From wikieduonline
Revision as of 09:59, 6 September 2022 by Cry (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

  • 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: