From 028476dc21448ec2e5bf6ebfa19f0a0adb9aa747 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Mon, 19 Aug 2019 14:20:40 -0400 Subject: [PATCH] openshift-apps/coreos-koji-tagger: change bc source for staging Allows us to test potential changes before merging them which will trigger a build in prod and immediately start running in prod. --- .../coreos-koji-tagger/templates/buildconfig.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/openshift-apps/coreos-koji-tagger/templates/buildconfig.yml b/roles/openshift-apps/coreos-koji-tagger/templates/buildconfig.yml index f6a384a1f8..83b023d7fb 100644 --- a/roles/openshift-apps/coreos-koji-tagger/templates/buildconfig.yml +++ b/roles/openshift-apps/coreos-koji-tagger/templates/buildconfig.yml @@ -9,8 +9,13 @@ spec: type: Git contextDir: coreos-koji-tagger git: +{% if env == "staging" %} ref: master uri: https://github.com/coreos/fedora-coreos-releng-automation.git +{% else %} + ref: fedora-infra-staging + uri: https://github.com/coreos/fedora-coreos-releng-automation.git +{% endif %} strategy: type: Docker dockerStrategy: