From 41c92c7895cd49445142ab1cda8e441dde153220 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 25 Jan 2023 19:16:16 +0530 Subject: [PATCH] [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 --- .../tripleo-ci/CentOS-9/promotion-testing-hash-wallaby.yml | 2 ++ config/release/tripleo-ci/CentOS-9/wallaby.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/release/tripleo-ci/CentOS-9/promotion-testing-hash-wallaby.yml b/config/release/tripleo-ci/CentOS-9/promotion-testing-hash-wallaby.yml index 1558b51da..eda3f96a3 100644 --- a/config/release/tripleo-ci/CentOS-9/promotion-testing-hash-wallaby.yml +++ b/config/release/tripleo-ci/CentOS-9/promotion-testing-hash-wallaby.yml @@ -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 diff --git a/config/release/tripleo-ci/CentOS-9/wallaby.yml b/config/release/tripleo-ci/CentOS-9/wallaby.yml index 6007ea6be..9ac236f63 100644 --- a/config/release/tripleo-ci/CentOS-9/wallaby.yml +++ b/config/release/tripleo-ci/CentOS-9/wallaby.yml @@ -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