From 0c86b14ffae7c96e35818bda09e2586a46d37b1b Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Mon, 12 Aug 2019 12:22:53 -0400 Subject: [PATCH] openshift-apps/coreos-koji-tagger: add stg target repo We won't use the prod repo for staging since the rpms in staging koji are so old. We'll basically have to curate the list of rpms to match what is in staging koji (older rpms). --- .../templates/deploymentconfig.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/coreos-koji-tagger/templates/deploymentconfig.yml b/roles/openshift-apps/coreos-koji-tagger/templates/deploymentconfig.yml index f0477844a6..fbd69b32ad 100644 --- a/roles/openshift-apps/coreos-koji-tagger/templates/deploymentconfig.yml +++ b/roles/openshift-apps/coreos-koji-tagger/templates/deploymentconfig.yml @@ -20,11 +20,17 @@ spec: - env: - name: COREOS_KOJI_TAGGER_KEYTAB_FILE value: /etc/coreos-koji-tagger-keytab/koji-keytab - - name: COREOS_KOJI_TAGGER_USE_STG {% if env == "staging" %} + - name: COREOS_KOJI_TAGGER_USE_STG value: "true" -{% else %} - value: "false" + # We are using https://github.com/dustymabe/fedora-coreos-config/tree/fedora-infra-staging + # for now. Feel free to fork/create your own repo to test with and replace the values below. + # The repo must be set up with https://apps.fedoraproject.org/github2fedmsg so that it + # can get messages on the message bus when commits are made. + - name: GITHUB_REPO_FULLNAME + value: "dustymabe/fedora-coreos-config" + - name: GITHUB_REPO_BRANCH + value: "refs/heads/fedora-infra-staging" {% endif %} args: ['infinity'] command: ['/usr/bin/sleep']