DCD-1273: npx doesn't play well with pipenv for some reason.

This commit is contained in:
Steve Smith
2021-04-13 15:20:14 +10:00
parent 0f3aba40d6
commit 8b5598ec6f
2 changed files with 8 additions and 8 deletions

View File

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