nfv/.zuul.yaml
Al Bailey d87462c851 Convert yaml.load to yaml.safe_load
yaml.load is considered unsafe. yaml.safe_load is the
recommended method to use.

The yaml.load is only being called from scenario tests,
and from a forensic tool that is unused. Therefore this
code change has no runtime impact.

This allow unsuppressing the following pylint error
 E1120 no-value-for-parameter

This allow unsuppressing the following bandit error
 B506: Test for use of yaml load

Adding a new bandit zuul job, and removing the pinning
of the version of bandit for this repo.

Test Plan:
  PASS: tox -e pylint
  PASS: tox -e bandit
  PASS: build-pkgs -p nfv

Story: 2010531
Task: 47174

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ie60dcf98425c95e103d22e7be4212de1954550bf
2023-01-19 19:57:23 +00:00

182 lines
8.7 KiB
YAML

---
- project:
templates:
- publish-stx-docs
- stx-api-ref-jobs
- stx-release-notes-jobs
check:
jobs:
- openstack-tox-linters
- nfv-tox-pep8
- nfv-tox-py39
- nfv-tox-pylint
- nova-api-proxy-tox-pep8
- nova-api-proxy-tox-pylint
gate:
jobs:
- openstack-tox-linters
- nfv-tox-pep8
- nfv-tox-py39
- nfv-tox-pylint
- nova-api-proxy-tox-pep8
- nova-api-proxy-tox-pylint
post:
jobs:
- stx-nfv-upload-git-mirror
- job:
name: nfv-tox-py39
parent: openstack-tox-py39
description: Run py39 for nfv
nodeset: debian-bullseye
required-projects:
- starlingx/fault
- starlingx/root
vars:
tox_extra_args: -c nfv/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: nfv-tox-pep8
parent: openstack-tox-pep8
description: Run pep8 for nfv
vars:
tox_extra_args: -c nfv/tox.ini
- job:
name: nfv-tox-bandit
parent: tox
description: Run bandit for nfv
nodeset: debian-bullseye
required-projects:
- starlingx/root
vars:
tox_envlist: bandit
tox_extra_args: -c nfv/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: nfv-tox-pylint
parent: tox
description: Run pylint for nfv
nodeset: debian-bullseye
required-projects:
- starlingx/fault
- starlingx/root
vars:
tox_envlist: pylint
tox_extra_args: -c nfv/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: nova-api-proxy-tox-pep8
parent: tox
description: Run pep8 for nova-api-proxy
vars:
tox_envlist: pep8
tox_extra_args: -c nova-api-proxy/tox.ini
- job:
name: nova-api-proxy-tox-pylint
parent: tox
description: Run pylint for nova-api-proxy
nodeset: debian-bullseye
required-projects:
- starlingx/root
vars:
tox_envlist: pylint
tox_extra_args: -c nova-api-proxy/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: stx-nfv-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/nfv to
github.com/starlingx/nfv
vars:
git_mirror_repository: starlingx/nfv
secrets:
- name: git_mirror_credentials
secret: stx-nfv-github-secret
pass-to-parent: true
- secret:
name: stx-nfv-github-secret
data:
user: git
host: github.com
# yamllint disable-line rule:line-length
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
ssh_key: !encrypted/pkcs1-oaep
- XAxx792p/1F0yMFBy1JDxKC7y/m+VTG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