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 container Partial-Bug: 2090865 Change-Id: I2e635c33c28bfde1b3fcd9236aa14ca36383941a Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
This commit is contained in:
parent
4460446787
commit
3be90abfb0
29
.zuul.yaml
29
.zuul.yaml
@ -6,23 +6,36 @@
|
|||||||
- stx-bandit-jobs
|
- stx-bandit-jobs
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-pep8
|
- gui-tox-linters
|
||||||
- openstack-tox-linters
|
- gui-tox-pep8
|
||||||
- stx-gui-pylint
|
- gui-tox-pylint
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-pep8
|
- gui-tox-linters
|
||||||
- openstack-tox-linters
|
- gui-tox-pep8
|
||||||
- stx-gui-pylint
|
- gui-tox-pylint
|
||||||
post:
|
post:
|
||||||
jobs:
|
jobs:
|
||||||
- stx-gui-upload-git-mirror
|
- stx-gui-upload-git-mirror
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: gui-tox-linters
|
||||||
|
parent: openstack-tox-linters
|
||||||
|
description: |
|
||||||
|
Run linters
|
||||||
|
nodeset: debian-bullseye
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: stx-gui-pylint
|
name: gui-tox-pep8
|
||||||
|
parent: openstack-tox-pep8
|
||||||
|
description: |
|
||||||
|
Check conformance with pep8
|
||||||
|
nodeset: debian-bullseye
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: gui-tox-pylint
|
||||||
parent: openstack-tox-pylint
|
parent: openstack-tox-pylint
|
||||||
description: Run pylint for stx-gui
|
description: Run pylint for gui repo
|
||||||
nodeset: debian-bullseye
|
nodeset: debian-bullseye
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: pylint
|
tox_envlist: pylint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user