Fix broken bandit gate

The current bandit job appears to be failing due to a dependency
on setuptools. This change adds in a manual install for setuptools
when running the bandit job.

Change-Id: I6d0f5987c4f1a5fe7cfeed3eddb6d21c3040ebb0
This commit is contained in:
Gage Hugo 2022-01-04 21:04:02 -06:00
parent 45c60179cb
commit 7d718fb5b5
2 changed files with 11 additions and 13 deletions

View File

@ -6,8 +6,8 @@
shell: |
set -xe;
./tools/deployment/common/install-packages.sh
./tools/deployment/common/deploy-k8s.sh
sudo -H pip3 install yq bandit
./tools/gate/deploy-k8s.sh
sudo -H pip3 install --upgrade yq bandit setuptools
environment:
zuul_site_mirror_fqdn: "{{ zuul_site_mirror_fqdn }}"
args:

View File

@ -18,17 +18,6 @@
# These will move with their playbooks inside the
# openstack-helm-infra repository
- job:
name: openstack-helm-bandit
timeout: 3600
run: tools/gate/playbooks/osh-bandit.yaml
required-projects:
- openstack/openstack-helm-infra
files:
- ^.*\.py\.tpl$
- ^.*\.py$
nodeset: openstack-helm-single-node
- job:
name: openstack-helm-chart-deploy
parent: openstack-helm-infra-functional
@ -47,6 +36,15 @@
- openstack/openstack-helm
nodeset: openstack-helm-single-node
- job:
name: openstack-helm-bandit
parent: openstack-helm-chart-deploy
run: tools/gate/playbooks/osh-bandit.yaml
files:
- ^.*\.py\.tpl$
- ^.*\.py$
- ^tools/gate/playbooks/osh-bandit.yaml$
- job:
name: openstack-helm-keystone-ldap
parent: openstack-helm-chart-deploy