Test setting the nova job to centos-9-stream
Depends-On: https://review.opendev.org/c/openstack/tempest/+/831607 Change-Id: Ic8da6ee0313a911d742190ea5b0d4362cb6aef2f
This commit is contained in:
2 changed files with 9 additions and 4 deletions
@@ -729,8 +729,7 @@
# Runs emulation feature functionality test less frequently due
# to being the initial release and experimental in nature.
- nova-emulation
- tempest-integrated-compute-centos-9-stream:
irrelevant-files:*nova-base-irrelevant-files
- tempest-centos9-stream-fips
experimental:
jobs:
- ironic-tempest-bfv:
@@ -760,7 +759,7 @@
irrelevant-files:*nova-base-irrelevant-files
- devstack-tobiko-nova:
irrelevant-files:*nova-base-irrelevant-files
- tempest-centos8-stream-fips:
- tempest-centos9-stream-fips:
irrelevant-files:*nova-base-irrelevant-files
- nova-emulation
- tempest-integrated-compute-centos-9-stream:
@@ -27,13 +27,19 @@ function is_rhel8 {
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'
}
function set_conf_line { # file regex value
sudo sh -c "grep -q -e '2ドル' 1ドル && \
sed -i 's|2ドル|3ドル|g' 1ドル || \
echo '3ドル' >> 1ドル"
}
if is_rhel7 || is_rhel8; then
if is_rhel7 || is_rhel8 || is_rhel9; then
# mysql needs to be started on centos/rhel
sudo systemctl restart mariadb.service
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.