Update gate jobs as per the 2025.1 cycle testing runtime

As per 2025.1 testing runtime[1], we need to test on Ubuntu
Noble (which will be taken care by tempest and devstack [2]
patches to move base jobs to Noble) and at least single job to run on
Ubuntu Jammy (for smooth upgrade from previous releases).

This commit adds a new job to run on Jammy which can be removed
in future cycle when testing runtime test next version of Ubuntu
as default.

Also bump the hacking version to fix the pepe8 erorr:
 -AttributeError: 'EntryPoints' object has no attribute 'get'

[1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html
[2] https://review.opendev.org/c/openstack/tempest/+/932156

Change-Id: Ia29391d5535b16589d7cf259f958b3b6aac5776c
This commit is contained in:
Ghanshyam Mann 2024-10-21 19:54:27 -07:00 committed by Ghanshyam
parent 44c96d9acb
commit 550b0f0d8f
4 changed files with 31 additions and 10 deletions

View File

@ -1,5 +1,5 @@
# Hacking already pins down pep8, pyflakes and flake8
hacking<6.0.0 # Apache-2.0
hacking>=7.0.0,<7.1.0 # Apache-2.0
bandit[baseline]>=1.7.7 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
WebTest>=2.0.27 # MIT

View File

@ -23,7 +23,7 @@
- job:
name: trove-tempest
parent: devstack-tempest
nodeset: trove-ubuntu-jammy
nodeset: trove-ubuntu-noble
timeout: 10800
required-projects: &base_required_projects
- openstack/trove
@ -182,6 +182,15 @@
database:
default_datastore_versions: mysql:5.7
# TODO(gmann): As per the 2025.1 testing runtime, we need to run at least
# one job on jammy. This job can be removed as per the future testing
# runtime (whenever we start testing Ubuntu 26.04 as default version).
- job:
name: trove-tempest-ubuntu-base-mysql5.7-jammy
description: This is integrated job testing on Ubuntu jammy(22.04)
parent: trove-tempest-ubuntu-base-mysql5.7
nodeset: trove-ubuntu-jammy
- job:
name: trove-tempest-ubuntu-backup-mysql5.7
parent: trove-tempest-ubuntu-backup
@ -421,7 +430,7 @@
- job:
name: trove-ubuntu-guest-image-build
run: playbooks/image-build/run.yaml
nodeset: trove-ubuntu-jammy-single
nodeset: trove-ubuntu-noble-single
timeout: 3600
description: |
Build Ubuntu jammy based image only on ubuntu distro.
@ -474,6 +483,6 @@
run: playbooks/image-build/docker-registry.yaml
parent: publish-openstack-artifacts
post-run: playbooks/image-build/post.yaml
nodeset: trove-ubuntu-jammy-single
nodeset: trove-ubuntu-noble-single
required-projects:
- openstack/trove

View File

@ -1,3 +1,19 @@
- nodeset:
name: trove-ubuntu-noble
nodes:
- name: controller
label: nested-virt-ubuntu-noble
groups:
- name: tempest
nodes:
- controller
- nodeset:
name: trove-ubuntu-noble-single
nodes:
- name: primary
label: ubuntu-noble
- nodeset:
name: trove-ubuntu-jammy
nodes:
@ -7,9 +23,3 @@
- name: tempest
nodes:
- controller
- nodeset:
name: trove-ubuntu-jammy-single
nodes:
- name: primary
label: ubuntu-jammy

View File

@ -12,6 +12,7 @@
check:
jobs:
- trove-tempest-ubuntu-base-mysql5.7
- trove-tempest-ubuntu-base-mysql5.7-jammy
- trove-tempest-ubuntu-backup-mysql5.7:
voting: false
- trove-tempest-ubuntu-replication-mysql5.7:
@ -35,6 +36,7 @@
gate:
jobs:
- trove-tempest-ubuntu-base-mysql5.7
- trove-tempest-ubuntu-base-mysql5.7-jammy
- trove-tempest-ubuntu-base-mariadb10.4
- trove-tempest-ubuntu-base-postgresql12
experimental: