From 7dfcb57f5772c57e9c16b10bf2dae1c0c39db938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 9 Oct 2023 14:09:01 +0200 Subject: [PATCH] Don't hardcode staging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/openshift-apps/maubot/templates/buildconfig.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/maubot/templates/buildconfig.yml b/roles/openshift-apps/maubot/templates/buildconfig.yml index b5b8083992..3aabf64394 100644 --- a/roles/openshift-apps/maubot/templates/buildconfig.yml +++ b/roles/openshift-apps/maubot/templates/buildconfig.yml @@ -19,7 +19,7 @@ spec: chmod +x /usr/local/bin/install-maubot-plugins && \ mkdir /maubot && \ for plugin in maubot-fedora maubot-adminclient; do \ - install-maubot-plugins -o /maubot -b staging https://github.com/fedora-infra/${plugin}; \ + install-maubot-plugins -o /maubot -b {{ (env == "production")|ternary("stable", "staging") }} https://github.com/fedora-infra/${plugin}; \ done && \ install-maubot-plugins -o /maubot \ https://github.com/jkhsjdhjs/maubot-webhook.git \