CircleCI
TO-DO list for setting-up Datree in your CI
- Get your account token
- Set DATREE_TOKEN as a secret/environment variable
- Add datree to your CI script
CI config example
version: 2.1
jobs:
build:
docker:
- image: circleci/node
steps:
- checkout
- run: npm run build
test:
docker:
- image: circleci/node
steps:
- checkout
- run: curl https://get.datree.io | /bin/bash
- run: datree test ~/.datree/k8s-demo.yaml
workflows:
main:
jobs:
- build
- test