Add support for EL9
Needs crb repo enablement for python3-wheel package, added rockylinux-9 jobs. Change-Id: If36eaeb518828778490a1599f93792c82c189bb6
This commit is contained in:
parent
6af32ae579
commit
f34703d297
@ -58,8 +58,8 @@
|
||||
# virtualbmc to the system rather than a virtualenv. SELinux
|
||||
# prevents systemd from accessing files in users' home directories.
|
||||
selinux_enabled: "{{ ansible_facts.selinux.status | default('disabled') == 'enabled' }}"
|
||||
is_centos8: "{{ ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version | int == 8 }}"
|
||||
vbmcd_virtualenv_path: "{{ '' if is_centos8 and selinux_enabled else virtualenv_path }}"
|
||||
is_redhat: "{{ ansible_facts.os_family == 'RedHat' }}"
|
||||
vbmcd_virtualenv_path: "{{ '' if is_redhat and selinux_enabled else virtualenv_path }}"
|
||||
vbmcd_python_upper_constraints_url: >-
|
||||
{{ python_upper_constraints_url }}
|
||||
|
||||
|
@ -50,8 +50,8 @@
|
||||
# to the system rather than a virtualenv. SELinux prevents systemd from
|
||||
# accessing files in users' home directories.
|
||||
selinux_enabled: "{{ ansible_facts.selinux.status | default('disabled') == 'enabled' }}"
|
||||
is_centos8: "{{ ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version | int == 8 }}"
|
||||
vbmc_virtualenv_path: "{{ '' if is_centos8 and selinux_enabled else virtualenv_path }}"
|
||||
is_redhat: "{{ ansible_facts.os_family == 'RedHat' }}"
|
||||
vbmc_virtualenv_path: "{{ '' if is_redhat and selinux_enabled else virtualenv_path }}"
|
||||
vbmc_log_directory: "{{ log_directory }}"
|
||||
vbmc_state: "{{ domain.get('state', 'present') }}"
|
||||
loop: "{{ vbmc_nodes | sort(attribute='name') | list }}"
|
||||
|
@ -38,8 +38,8 @@
|
||||
url: "{{ item }}"
|
||||
dest: /etc/yum.repos.d/
|
||||
with_items:
|
||||
- https://trunk.rdoproject.org/centos8-master/consistent/delorean.repo
|
||||
- https://trunk.rdoproject.org/centos8-master/delorean-deps.repo
|
||||
- "https://trunk.rdoproject.org/centos{{ ansible_facts.distribution_major_version }}-master/consistent/delorean.repo"
|
||||
- "https://trunk.rdoproject.org/centos{{ ansible_facts.distribution_major_version }}-master/delorean-deps.repo"
|
||||
|
||||
- name: Install Open vSwitch
|
||||
package:
|
||||
|
@ -10,6 +10,11 @@
|
||||
|
||||
- name: Enable the EPEL yum repository
|
||||
command: yum-config-manager --enable epel
|
||||
|
||||
- name: Enable the CRB yum repository
|
||||
command: yum-config-manager --enable crb
|
||||
when: ansible_facts.distribution_major_version == '9'
|
||||
|
||||
when: ansible_facts.os_family == 'RedHat'
|
||||
become: true
|
||||
|
||||
@ -20,4 +25,23 @@
|
||||
- python3-pip
|
||||
- python3-setuptools
|
||||
- python3-wheel
|
||||
|
||||
- name: Install Python3 devel
|
||||
become: true
|
||||
package:
|
||||
name:
|
||||
- python3-devel
|
||||
when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9'
|
||||
|
||||
- name: Install virtualenv from distribution package
|
||||
become: true
|
||||
package:
|
||||
name:
|
||||
- "{% if ansible_facts.os_family == 'Debian' %}virtualenv{% else %}python3-virtualenv{% endif %}"
|
||||
when: not (ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9')
|
||||
|
||||
- name: Install virtualenv using pip
|
||||
become: true
|
||||
pip:
|
||||
name: virtualenv
|
||||
when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9'
|
||||
|
@ -22,11 +22,21 @@
|
||||
- name: openstack/requirements
|
||||
override-checkout: stable/yoga
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-ovs-bios-centos9s
|
||||
parent: tenks-deploy-teardown-ovs-bios-base
|
||||
nodeset: centos-9-stream
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-ovs-bios-debian
|
||||
parent: tenks-deploy-teardown-ovs-bios-base
|
||||
nodeset: debian-bullseye
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-ovs-bios-rocky-9
|
||||
parent: tenks-deploy-teardown-ovs-bios-base
|
||||
nodeset: rockylinux-9
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-ovs-bios-ubuntu-focal
|
||||
parent: tenks-deploy-teardown-ovs-bios-base
|
||||
@ -46,11 +56,21 @@
|
||||
- name: openstack/requirements
|
||||
override-checkout: stable/yoga
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-linuxbridge-uefi-centos9s
|
||||
parent: tenks-deploy-teardown-linuxbridge-uefi-base
|
||||
nodeset: centos-9-stream
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-linuxbridge-uefi-debian
|
||||
parent: tenks-deploy-teardown-linuxbridge-uefi-base
|
||||
nodeset: debian-bullseye
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-linuxbridge-uefi-rocky-9
|
||||
parent: tenks-deploy-teardown-linuxbridge-uefi-base
|
||||
nodeset: rockylinux-9
|
||||
|
||||
- job:
|
||||
name: tenks-deploy-teardown-linuxbridge-uefi-ubuntu-focal
|
||||
parent: tenks-deploy-teardown-linuxbridge-uefi-base
|
||||
|
@ -14,11 +14,15 @@
|
||||
- openstack-tox-py310
|
||||
- tenks-tox-ansible-lint
|
||||
- tenks-deploy-teardown-ovs-bios-centos8s
|
||||
- tenks-deploy-teardown-ovs-bios-centos9s
|
||||
- tenks-deploy-teardown-ovs-bios-debian
|
||||
- tenks-deploy-teardown-ovs-bios-rocky-9
|
||||
- tenks-deploy-teardown-ovs-bios-ubuntu-focal
|
||||
- tenks-deploy-teardown-ovs-bios-ubuntu-jammy
|
||||
- tenks-deploy-teardown-linuxbridge-uefi-centos8s
|
||||
- tenks-deploy-teardown-linuxbridge-uefi-centos9s
|
||||
- tenks-deploy-teardown-linuxbridge-uefi-debian
|
||||
- tenks-deploy-teardown-linuxbridge-uefi-rocky-9
|
||||
- tenks-deploy-teardown-linuxbridge-uefi-ubuntu-focal
|
||||
- tenks-deploy-teardown-linuxbridge-uefi-ubuntu-jammy
|
||||
# Until we have ironic jobs using tenks, gate on the kayobe overcloud
|
||||
|
Loading…
Reference in New Issue
Block a user