Enable container-tools:rhel8 with centos8 stream jobs

Reverses
https://github.com/openstack/tripleo-quickstart/blob/master/config/release/tripleo-ci/CentOS-8/master.yml#L194
to ensure the latest container-tools module version
is used with centos8 stream jobs.

Change-Id: I6f944d26e0095c678ad31b51a50095c1cd14a926
This commit is contained in:
Ronelle Landy 2020-12-09 14:40:51 -05:00
parent 99b9125b6f
commit 8717fac68c
1 changed files with 11 additions and 5 deletions

View File

@ -37,11 +37,11 @@ dependency_override_repos:
- quickstart-centos-highavailability
- quickstart-centos-extras
base_os_repos:
- CentOS-Stream-BaseOS
- CentOS-Stream-AppStream
- CentOS-Stream-PowerTools
- CentOS-Stream-HighAvailability
- CentOS-Stream-Extras
- CentOS-Linux-BaseOS
- CentOS-Linux-AppStream
- CentOS-Linux-PowerTools
- CentOS-Linux-HighAvailability
- CentOS-Linux-Extras
dep_repo_cmd_after: |
{% if dependency_override_repos is defined %}
{% for item in dependency_override_repos %}
@ -53,5 +53,11 @@ dep_repo_cmd_after: |
sudo sed -i -e "s|enabled=1|enabled=0|g" /etc/yum.repos.d/{{ item }}.repo;
{% endfor %}
{% endif %}
# enable conatiner tools rhel8
sudo dnf repolist;
sudo dnf module list;
sudo dnf module disable container-tools:2.0 -y;
sudo dnf module enable container-tools:rhel8 -y;
sudo dnf clean metadata;
sudo dnf clean all;
sudo dnf update -y;