From 8cf4bf101dda785b7bc4fcece52426f7dde7cb1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 20 Feb 2023 09:36:46 +0100 Subject: [PATCH] FMN: enable triggered rebuilds for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/openshift-apps/fmn/templates/buildconfig.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/fmn/templates/buildconfig.yml b/roles/openshift-apps/fmn/templates/buildconfig.yml index efc8902a40..72266e5a67 100644 --- a/roles/openshift-apps/fmn/templates/buildconfig.yml +++ b/roles/openshift-apps/fmn/templates/buildconfig.yml @@ -39,7 +39,8 @@ spec: triggers: - type: ConfigChange - type: ImageChange -{% if env == 'staging' %} +# Enable triggered rebuild on prod for now, will disable when we actually go live +{% if env == 'staging' or env == 'production' %} - type: GitHub github: # Not sure why secretReference does not work, but it doesn't.