DCD-1273: Also monitor the project.

This commit is contained in:
Steve Smith
2021-04-13 15:02:14 +10:00
parent a59b2b2f0f
commit 241ff40ae8
2 changed files with 8 additions and 6 deletions

View File

@@ -353,6 +353,7 @@ pipelines:
script:
- ./bin/install-ansible --dev
- apt-get update && apt-get install -y npm
- npm install -g snyk
- snyk auth $SNYK_TOKEN
- pipenv run snyk test --severity-threshold=high
- npm install snyk
- npx snyk auth $SNYK_TOKEN
- pipenv run npx snyk test --severity-threshold=high
- pipenv run npx snyk monitor --severity-threshold=high --project-name=dc-deployments-automation

View File

@@ -51,6 +51,7 @@ pipelines:
script:
- ./bin/install-ansible --dev
- apt-get update && apt-get install -y npm
- npm install -g snyk
- snyk auth $SNYK_TOKEN
- pipenv run snyk test --severity-threshold=high
- npm install snyk
- npx snyk auth $SNYK_TOKEN
- pipenv run npx snyk test --severity-threshold=high
- pipenv run npx snyk monitor --severity-threshold=high --project-name=dc-deployments-automation