Zuul: Set all nodesets to debian-bullseye
The default nodeset used by the openstack-tox-linters job has recently changed to Ubuntu Noble, which runs python 3.12 Meanwhile, the current Ansible version set on the repo, 2.10.7, is not supported on it [1]. To fix this, set all Zuul jobs to run on debian-bullseye nodes, matching the runtime OS, which uses a compatible python version. Ref: [1] https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix Test Plan: pass - Run tox tests in a debian:bullseye container pass - Zuul vote Closes-Bug: 2090875 Change-Id: Id87c8fb3e2d7eff3e5220df5ddab720561e3db1a Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
This commit is contained in:
parent
68afdb411f
commit
75f90f9aeb
46
.zuul.yaml
46
.zuul.yaml
@ -1,18 +1,44 @@
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-pep8
|
||||
- ansible-playbooks-tox-linters
|
||||
- ansible-playbooks-tox-pep8
|
||||
- ansible-playbooks-tox-bandit
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-pep8
|
||||
- ansible-playbooks-tox-linters
|
||||
- ansible-playbooks-tox-pep8
|
||||
- ansible-playbooks-tox-bandit
|
||||
post:
|
||||
jobs:
|
||||
- stx-ansible-playbooks-upload-git-mirror
|
||||
|
||||
- job:
|
||||
name: ansible-playbooks-tox-linters
|
||||
parent: openstack-tox-linters
|
||||
description: |
|
||||
Run linters
|
||||
nodeset: debian-bullseye
|
||||
|
||||
- job:
|
||||
name: ansible-playbooks-tox-pep8
|
||||
parent: openstack-tox-pep8
|
||||
description: |
|
||||
Check conformance with pep8
|
||||
nodeset: debian-bullseye
|
||||
|
||||
- job:
|
||||
name: ansible-playbooks-tox-bandit
|
||||
parent: tox
|
||||
description: |
|
||||
Run bandit test for ansible-playbooks
|
||||
nodeset: debian-bullseye
|
||||
files:
|
||||
- ./*
|
||||
vars:
|
||||
tox_envlist: bandit
|
||||
tox_extra_args: -c ./tox.ini
|
||||
|
||||
- job:
|
||||
name: stx-ansible-playbooks-upload-git-mirror
|
||||
parent: upload-git-mirror
|
||||
@ -26,18 +52,6 @@
|
||||
secret: stx-ansible-playbooks-github-secret2
|
||||
pass-to-parent: true
|
||||
|
||||
- job:
|
||||
name: ansible-playbooks-tox-bandit
|
||||
parent: tox
|
||||
description: |
|
||||
Run bandit test for ansible-playbooks
|
||||
nodeset: ubuntu-bionic
|
||||
files:
|
||||
- ./*
|
||||
vars:
|
||||
tox_envlist: bandit
|
||||
tox_extra_args: -c ./tox.ini
|
||||
|
||||
- secret:
|
||||
name: stx-ansible-playbooks-github-secret2
|
||||
data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user