Merge "Test on CentOS 9 Stream"
This commit is contained in:
commit
e965dce7b7
19
.zuul.yaml
19
.zuul.yaml
@ -18,9 +18,11 @@
|
|||||||
- pyeclib-tox-py311
|
- pyeclib-tox-py311
|
||||||
- pyeclib-tox-py27-centos-7
|
- pyeclib-tox-py27-centos-7
|
||||||
- pyeclib-tox-py36-centos-8-stream
|
- pyeclib-tox-py36-centos-8-stream
|
||||||
|
- pyeclib-tox-py39-centos-9-stream
|
||||||
- libec-pyeclib-unit
|
- libec-pyeclib-unit
|
||||||
- libec-pyeclib-unit-centos-7
|
- libec-pyeclib-unit-centos-7
|
||||||
- libec-pyeclib-unit-centos-8-stream
|
- libec-pyeclib-unit-centos-8-stream
|
||||||
|
- libec-pyeclib-unit-centos-9-stream
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- test-release-openstack:
|
- test-release-openstack:
|
||||||
@ -37,9 +39,11 @@
|
|||||||
- pyeclib-tox-py311
|
- pyeclib-tox-py311
|
||||||
- pyeclib-tox-py27-centos-7
|
- pyeclib-tox-py27-centos-7
|
||||||
- pyeclib-tox-py36-centos-8-stream
|
- pyeclib-tox-py36-centos-8-stream
|
||||||
|
- pyeclib-tox-py39-centos-9-stream
|
||||||
- libec-pyeclib-unit
|
- libec-pyeclib-unit
|
||||||
- libec-pyeclib-unit-centos-7
|
- libec-pyeclib-unit-centos-7
|
||||||
- libec-pyeclib-unit-centos-8-stream
|
- libec-pyeclib-unit-centos-8-stream
|
||||||
|
- libec-pyeclib-unit-centos-9-stream
|
||||||
pre-release:
|
pre-release:
|
||||||
jobs:
|
jobs:
|
||||||
- release-openstack-python:
|
- release-openstack-python:
|
||||||
@ -65,6 +69,13 @@
|
|||||||
Run unit tests using ``py36`` environment on CentOS 8.
|
Run unit tests using ``py36`` environment on CentOS 8.
|
||||||
nodeset: centos-8-stream
|
nodeset: centos-8-stream
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: pyeclib-tox-py39-centos-9-stream
|
||||||
|
parent: openstack-tox-py39
|
||||||
|
description: |
|
||||||
|
Run unit tests using ``py39`` environment on CentOS 9.
|
||||||
|
nodeset: centos-9-stream
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: libec-pyeclib-unit-centos-7
|
name: libec-pyeclib-unit-centos-7
|
||||||
parent: openstack-tox-py27
|
parent: openstack-tox-py27
|
||||||
@ -81,6 +92,14 @@
|
|||||||
vars:
|
vars:
|
||||||
tox_envlist: py36-compilelibs
|
tox_envlist: py36-compilelibs
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: libec-pyeclib-unit-centos-9-stream
|
||||||
|
parent: openstack-tox-py39
|
||||||
|
timeout: 1800
|
||||||
|
nodeset: centos-9-stream
|
||||||
|
vars:
|
||||||
|
tox_envlist: py39-compilelibs
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: libec-pyeclib-unit
|
name: libec-pyeclib-unit
|
||||||
parent: openstack-tox-py39
|
parent: openstack-tox-py39
|
||||||
|
@ -15,6 +15,11 @@ function is_rhel8 {
|
|||||||
cat /etc/*release | grep -q -e "Red Hat" -e "CentOS" -e "CloudLinux" && \
|
cat /etc/*release | grep -q -e "Red Hat" -e "CentOS" -e "CloudLinux" && \
|
||||||
cat /etc/*release | grep -q 'release 8'
|
cat /etc/*release | grep -q 'release 8'
|
||||||
}
|
}
|
||||||
|
function is_rhel9 {
|
||||||
|
[ -f /usr/bin/dnf ] && \
|
||||||
|
cat /etc/*release | grep -q -e "Red Hat" -e "CentOS" -e "CloudLinux" && \
|
||||||
|
cat /etc/*release | grep -q 'release 9'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if is_rhel7; then
|
if is_rhel7; then
|
||||||
@ -32,3 +37,10 @@ if is_rhel8; then
|
|||||||
sudo dnf install -y centos-release-openstack-ussuri
|
sudo dnf install -y centos-release-openstack-ussuri
|
||||||
sudo dnf install -y liberasurecode-devel
|
sudo dnf install -y liberasurecode-devel
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if is_rhel9; then
|
||||||
|
# Install CentOS OpenStack repos so that we have access to some extra
|
||||||
|
# packages.
|
||||||
|
sudo dnf install -y centos-release-openstack-zed
|
||||||
|
sudo dnf install -y liberasurecode-devel nasm
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user