diff --git a/roles/openshift-apps/mdapi/templates/buildconfig.yml b/roles/openshift-apps/mdapi/templates/buildconfig.yml index b2f7ac8408..d6526a59be 100644 --- a/roles/openshift-apps/mdapi/templates/buildconfig.yml +++ b/roles/openshift-apps/mdapi/templates/buildconfig.yml @@ -11,8 +11,8 @@ spec: uri: https://github.com/fedora-infra/mdapi.git ref: "develop" {% else %} - uri: https://pagure.io/mdapi.git - ref: "production" + uri: https://github.com/fedora-infra/mdapi.git + ref: "prod" {% endif %} strategy: type: Docker diff --git a/roles/openshift-apps/mdapi/templates/myconfig.py b/roles/openshift-apps/mdapi/templates/myconfig.py index 7ac629dae8..b6159d730f 100644 --- a/roles/openshift-apps/mdapi/templates/myconfig.py +++ b/roles/openshift-apps/mdapi/templates/myconfig.py @@ -68,7 +68,11 @@ PKGDB2_VERIFY = True DL_VERIFY = True # Whether to publish to Fedora Messaging +{% if env == "staging" %} PUBLISH_CHANGES = False +{% else %} +PUBLISH_CHANGES = True +{% endif %} # How long to wait between retries if processing failed CRON_SLEEP = 30