From b52bfeb2b2a31c12edf61f3d7af0f0d653356813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 10 Jun 2024 14:12:21 +0200 Subject: [PATCH] Bugzilla2fedmsg: add Github webhook trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml b/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml index 9738fdfe41..0a4122ff07 100644 --- a/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml +++ b/roles/openshift-apps/bugzilla2fedmsg/templates/buildconfig.yml @@ -20,6 +20,9 @@ spec: triggers: - type: ImageChange - type: ConfigChange + - type: GitHub + github: + secret: "{{ (env == 'production')|ternary(bugzilla2fedmsg_prod_github_secret, bugzilla2fedmsg_stg_github_secret) }}" output: to: kind: ImageStreamTag