From 61ecee462466fde1e3f6643c504d03a4f8136d9c Mon Sep 17 00:00:00 2001 From: "Ian H. Pittwood" Date: Wed, 24 Jul 2019 16:27:22 -0500 Subject: [PATCH] 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 --- .zuul.yaml | 5 +++-- tox.ini | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index bd4ae91..2c94905 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -47,12 +47,13 @@ - job: name: spyglass-dependency-vulnerability-check - parent: openstack-tox + parent: tox-py36 voting: false timeout: 600 - nodeset: spyglass-single-node + nodeset: ubuntu-bionic vars: tox_envlist: safety + bindep_profile: test py36 - job: name: spyglass-docker-build-gate-ubuntu_xenial diff --git a/tox.ini b/tox.ini index 9f3ae23..b172232 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,6 @@ deps = pipenv safety commands = - pipenv install --dev pipenv check safety check -r {toxinidir}/doc/requirements.txt --full-report