Use py36 job for safety checks

When using pipenv, the targeted version must be used when attempting to
do pipenv check. This change updates the safety dependency check to use
openstack-tox-py36  so the correct python version will be used.

Change-Id: I4b9f71cfaaa74724ecee7b40ea6e9362e836d261
This commit is contained in:
Ian H. Pittwood 2019-07-24 16:27:22 -05:00 committed by Ian Pittwood
parent 166483d6ad
commit 61ecee4624
2 changed files with 3 additions and 3 deletions

View File

@ -47,12 +47,13 @@
- job: - job:
name: spyglass-dependency-vulnerability-check name: spyglass-dependency-vulnerability-check
parent: openstack-tox parent: tox-py36
voting: false voting: false
timeout: 600 timeout: 600
nodeset: spyglass-single-node nodeset: ubuntu-bionic
vars: vars:
tox_envlist: safety tox_envlist: safety
bindep_profile: test py36
- job: - job:
name: spyglass-docker-build-gate-ubuntu_xenial name: spyglass-docker-build-gate-ubuntu_xenial

View File

@ -48,7 +48,6 @@ deps =
pipenv pipenv
safety safety
commands = commands =
pipenv install --dev
pipenv check pipenv check
safety check -r {toxinidir}/doc/requirements.txt --full-report safety check -r {toxinidir}/doc/requirements.txt --full-report