Make bandit voting on check and gate

Bandit 1.7.5 introduced some changes which broke the bandit job,
which caused the job to fail ages ago. We've since fixed those.

But, moving forward we need to fix these relatively quickly when
they occur, as such changing the test to voting improves our overall
security posture by forcing us to address these as they occur.

Change-Id: I4a7954bfd20eafdb578896e1f61204edc7f9ec7e
This commit is contained in:
Julia Kreger 2023-04-04 10:37:22 -07:00
parent 76f68582d6
commit 310603f3ba

View File

@ -10,6 +10,7 @@
- release-notes-jobs-python3
check:
jobs:
- ironic-tox-bandit
- ironic-tox-unit-mysql-migrations
- ironic-tox-unit-with-sqlalchemy-2x
- ironic-tox-unit-with-driver-libs
@ -42,8 +43,6 @@
- metalsmith-integration-glance-centos9-legacy
- metal3-integration
# Non-voting jobs
- ironic-tox-bandit:
voting: false
- ironic-inspector-tempest:
voting: false
- ironic-inspector-tempest-managed-non-standalone:
@ -68,6 +67,7 @@
voting: false
gate:
jobs:
- ironic-tox-bandit
- ironic-tox-unit-mysql-migrations
- ironic-tox-unit-with-sqlalchemy-2x
- ironic-tox-unit-with-driver-libs