Skip to main content

Azure pipeline

TO-DO list for setting-up Datree in your CI

CI config example

trigger:
- main

pool:
vmImage: ubuntu-latest

steps:
- script: curl https://get.datree.io | /bin/bash
displayName: 'Install Datree'

- script: datree test ~/.datree/k8s-demo.yaml
env:
DATREE_TOKEN: $(DATREE_TOKEN)
displayName: 'Run Datree policy check'