Merge "Add CentOS9 jobs back"

This commit is contained in:
Zuul
2025-05-26 14:36:12 +00:00
committed by Gerrit Code Review
2 changed files with 23 additions and 1 deletions

View File

@@ -199,13 +199,17 @@
parent: telemetry-dsvm-integration
description: |
Telemetry devstack tempest tests job for a Centos 9 stream system
pre-run:
- playbooks/python-3.12-install.yaml
- job:
name: telemetry-dsvm-integration-centos-9s-fips
parent: telemetry-dsvm-integration-centos-9s
description: |
Telemetry devstack tempest tests job for a FIPS enabled Centos 9 stream system
pre-run: playbooks/enable-fips.yaml
pre-run:
- playbooks/python-3.12-install.yaml
- playbooks/enable-fips.yaml
vars:
nslookup_target: "opendev.org"
@@ -221,6 +225,8 @@
- telemetry-dsvm-integration-2024-2
- telemetry-dsvm-integration-2025-1
- telemetry-dsvm-integration-ipv6-only
- telemetry-dsvm-integration-centos-9s
- telemetry-dsvm-integration-centos-9s-fips
gate:
jobs:
- telemetry-dsvm-integration

View File

@@ -0,0 +1,16 @@
---
- hosts: all
tasks:
- name: Install Python 3.12 on Centos distro
become: yes
ansible.builtin.shell: |
dnf install -y python3.12 python3.12-pip python3.12-devel pcp*devel gcc gcc-c++
alternatives --install /usr/bin/python python /usr/bin/python3.12 10
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 10
update-alternatives --set python /usr/bin/python3.12
update-alternatives --set python3 /usr/bin/python3.12
alternatives --install /usr/bin/pip pip /usr/bin/pip3.12 10
alternatives --install /usr/bin/pip33 pip3 /usr/bin/pip3.12 10
update-alternatives --set pip /usr/bin/pip3.12
update-alternatives --set pip3 /usr/bin/pip3.12
pip3.12 install pcp