integ/.zuul.yaml
Leonardo Fagundes Luz Serrano cd00b556e4 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: I9e8e29241f7091373dfd5c8a1908a42afef1dc5d
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
2024-12-03 18:11:56 +00:00

281 lines
11 KiB
YAML

---
- project:
templates:
- publish-stx-docs
- stx-release-notes-jobs
check:
jobs:
- integ-tox-pep8
- integ-tox-linters
- integ-tox-pylint
gate:
jobs:
- integ-tox-pep8
- integ-tox-linters
- integ-tox-pylint
post:
jobs:
- stx-integ-upload-git-mirror
# This is the common base job definition for StarlingX flock services
- job:
name: flock-devstack-base
parent: devstack
description: |
Base job for StarlingX Flock components DevStack tests
nodeset: openstack-single-node-bionic
roles:
- zuul: openstack/devstack
timeout: 9000
required-projects:
- name: openstack/devstack
- name: openstack/keystone
- name: openstack/requirements
vars:
devstack_services:
ceilometer-acentral: false
ceilometer-acompute: false
ceilometer-alarm-evaluator: false
ceilometer-alarm-notifier: false
ceilometer-anotification: false
ceilometer-api: false
ceilometer-collector: false
horizon: false
# Swift services
s-account: false
s-container: false
s-object: false
s-proxy: false
tempest: false
# Database
mysql: false
postgresql: true
devstack_localrc:
# LIBS_FROM_GIT: keystone
FORCE: yes # yamllint disable-line rule:truthy
# A minimal base job that eliminates most OpenStack services
# Leave Celiometer, Horizon and Swift in the base since none
# of our jobs need them.
- job:
name: flock-devstack-base-min
parent: flock-devstack-base
timeout: 7800
vars:
devstack_services:
# Cinder services
c-api: false
c-bak: false
c-sch: false
c-vol: false
cinder: false
# Glance services
g-api: false
g-reg: false
# Nova services
n-api: false
n-api-meta: false
n-cauth: false
n-cond: false
n-cpu: false
n-novnc: false
n-obj: false
n-sch: false
placement-api: false
# Neutron services
q-agt: true
q-dhcp: false
q-l3: false
q-meta: false
q-metering: false
q-svc: false
# An equivalent tox-based functional test job to flock-devstack-base
- job:
name: flock-devstack-tox-base
parent: devstack-tox-functional
description: |
Base job for StarlingX Flock components DevStack tests that use tox
nodeset: openstack-single-node-bionic
roles:
- zuul: openstack/devstack
timeout: 9000
required-projects:
- name: openstack/devstack
- name: openstack/keystone
- name: openstack/requirements
vars:
devstack_services:
ceilometer-acentral: false
ceilometer-acompute: false
ceilometer-alarm-evaluator: false
ceilometer-alarm-notifier: false
ceilometer-anotification: false
ceilometer-api: false
ceilometer-collector: false
horizon: false
# Swift services
s-account: false
s-container: false
s-object: false
s-proxy: false
tempest: false
# Database
mysql: false
postgresql: true
devstack_localrc:
# LIBS_FROM_GIT: keystone
FORCE: yes # yamllint disable-line rule:truthy
# And the tox version of the base-min job
- job:
name: flock-devstack-tox-base-min
parent: flock-devstack-tox-base
timeout: 7800
vars:
devstack_services:
# Cinder services
c-api: false
c-bak: false
c-sch: false
c-vol: false
cinder: false
# Glance services
g-api: false
g-reg: false
# Nova services
n-api: false
n-api-meta: false
n-cauth: false
n-cond: false
n-cpu: false
n-novnc: false
n-obj: false
n-sch: false
placement-api: false
# Neutron services
q-agt: true
q-dhcp: false
q-l3: false
q-meta: false
q-metering: false
q-svc: false
- job:
name: integ-tox-linters
parent: openstack-tox-linters
description: |
Run linters
nodeset: debian-bullseye
- job:
name: integ-tox-pep8
parent: openstack-tox-pep8
description: |
Check conformance with pep8
nodeset: debian-bullseye
- job:
name: integ-tox-pylint
parent: tox
description: |
Tox-based job with a minimal functional target in tox.ini
nodeset: debian-bullseye
required-projects:
- starlingx/config
vars:
tox_envlist: pylint
tox_extra_args: -c tox.ini
- job:
name: stx-integ-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/integ to
github.com/starlingx/integ
vars:
git_mirror_repository: starlingx/integ
secrets:
- name: git_mirror_credentials
secret: stx-integ-github-secret2
pass-to-parent: true
- secret:
name: stx-integ-github-secret2
data:
user: git
host: github.com
# yamllint disable-line rule:line-length
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
ssh_key: !encrypted/pkcs1-oaep
- Eto97VMRX6py5MwewXqOtIlHxSDZJZb6MnO2Vj5H6iDOYUpejAYoy53y2C2nwyewYd6ME
KL3kqr5zTKQDzSvwxhwNBnGMyyzhEcE1h8UezrABBN59iB4PZqC0+MizP6pnyc2n42WUh
MHIk7xb3+bY+LIzxKDPkwmK9iHASoVEil8PqgCIqohWAhVhgTh3z2mzeyf1l9ft05c6qw
AUE9pRvi51HCh2hzdvqzna3VnhdQdA70VxeUiqXVmj8lsx8k4u3PrajYw/fWf7n3Dvrnt
33smjojRQ7d5/E23VXG7tKCLmeHko/RhhMqrqGCeg3RxSaCfe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