File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ command_type: system
1818pre_error_fails_task : true
1919include :
2020 - filename : build/ci/release.yml
21+ - filename : build/ci/snyk.yml
2122
2223variables :
2324 - &go_linux_version
Original file line number Diff line number Diff line change 1+ tasks :
2+ - name : snyk_monitor
3+ commands :
4+ - command : shell.exec
5+ params :
6+ include_expansions_in_env :
7+ - workdir
8+ shell : bash
9+ script : |
10+ docker run \
11+ --rm \
12+ -e SNYK_TOKEN=${SNYK_TOKEN} \
13+ -e SNYK_CFG_ORG=${SNYK_ORG} \
14+ -v ${workdir}/src/github.com/mongodb/mongodb-atlas-cli:/app \
15+ snyk/snyk:golang snyk monitor
16+
17+ buildvariants :
18+ - name : ubuntu
19+ display_name : Snyk
20+ cron : ' @daily'
21+ run_on :
22+ - ubuntu2204-large
23+ tasks :
24+ - name : snyk_monitor
You can’t perform that action at this time.
0 commit comments