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

View File

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