Centos 9 jobs for validations common

Recent move to centos9 nodes has disabled the jobs we rely on.
By moving our jobs to centos9 we can keep our coverage.

The reqcheck job no longer pulls python3-virtualenv package
as it was removed from centos9 stream.

The molecule jobs have been kept on centos-8.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I36a07afc6dc76d47db7b8d4c3538b74bd5a1a48e
This commit is contained in:
Jiri Podivin 2022-02-24 13:50:33 +01:00
parent 602c7d931d
commit 200e8211ec
2 changed files with 7 additions and 8 deletions

View File

@ -19,7 +19,7 @@
- job:
name: validations-common-reqcheck
nodeset: centos-8-stream
nodeset: centos-9-stream
parent: base
run: playbooks/reqcheck.yaml
timeout: 1600
@ -30,7 +30,7 @@
- ^requirements.txt$
- job:
name: validations-common-coverchange
nodeset: centos-8-stream
nodeset: centos-9-stream
parent: base
run: playbooks/coverchange.yaml
timeout: 1600
@ -56,8 +56,8 @@
voting: true
- job:
name: tripleo-ci-centos-8-standalone-validation-common
parent: tripleo-ci-centos-8-standalone
name: tripleo-ci-centos-9-standalone-validation-common
parent: tripleo-ci-centos-9-standalone
vars:
featureset: '052'
validate_services: true
@ -77,7 +77,7 @@
- openstack-tox-py36
- openstack-tox-py39
- validations-common-functional
- tripleo-ci-centos-8-standalone-validation-common:
- tripleo-ci-centos-9-standalone-validation-common:
vars: &consumer_vars
build_container_images: true
dependencies:
@ -95,7 +95,7 @@
- openstack-tox-py36
- openstack-tox-py39
- validations-common-functional
- tripleo-ci-centos-8-standalone-validation-common:
- tripleo-ci-centos-9-standalone-validation-common:
vars: *consumer_vars
dependencies:
- openstack-tox-linters

View File

@ -10,8 +10,7 @@
cmd: |
set -e
# Need to inherit system-site-packages for python-yum
sudo dnf install -y python3-virtualenv
virtualenv --system-site-packages {{ ansible_user_dir }}/.venv
python3 -m venv --system-site-packages {{ ansible_user_dir }}/.venv
source {{ ansible_user_dir }}/.venv/bin/activate
git clone https://github.com/softwarefactory-project/rdopkg.git
cd rdopkg