[wallaby only] Enable distro specific gating repo
In mixed os jobs gating repo is named after distro, so need to enable them so these jobs test patches under review. These jobs run only for wallaby so update is required only there. Related-Bug: #2003865 Change-Id: I111af443220f519befa0669dfefe20b9c56fd37c
This commit is contained in:
parent
05e2978334
commit
41c92c7895
|
@ -49,6 +49,8 @@ repo_cmd_before: |
|
|||
sudo dnf clean all;
|
||||
sudo dnf config-manager --disable "*" || true;
|
||||
sudo dnf config-manager --enable gating-repo || true;
|
||||
# Enable distro specific gating repo, it exists in mixed-os jobs
|
||||
sudo dnf config-manager --enable gating-repo-{{ ansible_distribution_major_version }} || true;
|
||||
if [ -e /etc/ci/mirror_info.sh ]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
else
|
||||
|
|
|
@ -94,6 +94,8 @@ repo_cmd_before: |
|
|||
sudo sed -i -e "s/gating-repo-{{ release }}/gating-repo/" /etc/yum.repos.d/gating.repo || true;
|
||||
sudo mv /etc/yum.repos.d/gating-repo-{{ release }}.repo /etc/yum.repos.d/gating-repo-{{ release }}.repo_previous || true;
|
||||
sudo dnf config-manager --enable gating-repo || true;
|
||||
# Enable distro specific gating repo, it exists in mixed-os jobs
|
||||
sudo dnf config-manager --enable gating-repo-{{ ansible_distribution_major_version }} || true;
|
||||
if [ -e /etc/ci/mirror_info.sh ]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue