From 22831e10e6084b9c41b576f985f74722ae8b682a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 29 May 2024 08:29:39 +0200 Subject: [PATCH] New version of mirrormanager in prod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- playbooks/openshift-apps/mirrormanager.yml | 4 +--- .../mirrormanager/templates/buildconfig.yml | 10 ++-------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/playbooks/openshift-apps/mirrormanager.yml b/playbooks/openshift-apps/mirrormanager.yml index c470b02b90..1f9a96ed4f 100644 --- a/playbooks/openshift-apps/mirrormanager.yml +++ b/playbooks/openshift-apps/mirrormanager.yml @@ -26,9 +26,7 @@ encoding: UTF-8 - name: make the app be real - # Only staging for now - # hosts: os_control_stg:os_control - hosts: os_control_stg + hosts: os_control_stg:os_control user: root gather_facts: false diff --git a/roles/openshift-apps/mirrormanager/templates/buildconfig.yml b/roles/openshift-apps/mirrormanager/templates/buildconfig.yml index c6c1ccebab..d9746eeb22 100644 --- a/roles/openshift-apps/mirrormanager/templates/buildconfig.yml +++ b/roles/openshift-apps/mirrormanager/templates/buildconfig.yml @@ -44,14 +44,8 @@ spec: source: type: Git git: - # uri: https://github.com/fedora-infra/mirrormanager2.git - uri: https://github.com/abompard/mirrormanager2.git -{% if env == "staging" %} - # ref: staging - ref: refactor-utilities -{% else %} - ref: master -{% endif %} + uri: https://github.com/fedora-infra/mirrormanager2.git + ref: "{{ env }}" contextDir: / strategy: type: Source