Zuul: Move jobs to debian-bullseye node
importlib_metadata, a dependency for building python pkgs, received changes where some of its API is deprecated [1], causing the error: AttributeError: 'EntryPoints' object has no attribute 'get' A possible fix is to clip the version to below 5.0, but the debian-bullseye Zuul node already provides a compatible version, with the added advantage of being the base OS used for STX, increasing reliability for the tests. Refs: [1] https://importlib-metadata.readthedocs.io/en/latest/history.html#v5-0-0 Test Plan: pass - Run tox tests in a debian:bullseye container Partial-Bug: 2090865 Change-Id: Ic42caf1fd56c1d6d0f9dccc56dabfdb3c79ad6b7 Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
This commit is contained in:
parent
682de91a79
commit
9f4e4b61bd
33
.zuul.yaml
33
.zuul.yaml
@ -5,18 +5,39 @@
|
|||||||
- stx-release-notes-jobs
|
- stx-release-notes-jobs
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-linters
|
- tools-tox-linters
|
||||||
- openstack-tox-pep8
|
- tools-tox-pep8
|
||||||
- openstack-tox-pylint
|
- tools-tox-pylint
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-linters
|
- tools-tox-linters
|
||||||
- openstack-tox-pep8
|
- tools-tox-pep8
|
||||||
- openstack-tox-pylint
|
- tools-tox-pylint
|
||||||
post:
|
post:
|
||||||
jobs:
|
jobs:
|
||||||
- stx-tools-upload-git-mirror
|
- stx-tools-upload-git-mirror
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: tools-tox-linters
|
||||||
|
parent: openstack-tox-linters
|
||||||
|
description: |
|
||||||
|
Run linters
|
||||||
|
nodeset: debian-bullseye
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: tools-tox-pep8
|
||||||
|
parent: openstack-tox-pep8
|
||||||
|
description: |
|
||||||
|
Check conformance with pep8
|
||||||
|
nodeset: debian-bullseye
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: tools-tox-pylint
|
||||||
|
parent: openstack-tox-pylint
|
||||||
|
description: |
|
||||||
|
Run pylint
|
||||||
|
nodeset: debian-bullseye
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: stx-tools-upload-git-mirror
|
name: stx-tools-upload-git-mirror
|
||||||
parent: upload-git-mirror
|
parent: upload-git-mirror
|
||||||
|
Loading…
x
Reference in New Issue
Block a user