From 3b741752a3d172967889620858c141d87a50fb2e Mon Sep 17 00:00:00 2001 From: mprahl Date: Fri, 11 May 2018 16:49:58 +0000 Subject: [PATCH] Add the MBS URL to the pdc-updater configuration --- roles/pdc/backend/templates/pdcupdater.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/pdc/backend/templates/pdcupdater.py b/roles/pdc/backend/templates/pdcupdater.py index 416cdc8e65..dea43ca556 100644 --- a/roles/pdc/backend/templates/pdcupdater.py +++ b/roles/pdc/backend/templates/pdcupdater.py @@ -42,6 +42,13 @@ config = { 'pdcupdater.pkgdb_url': 'https://admin.fedoraproject.org/pkgdb', {% endif %} + # MBS details + {% if env == 'staging' %} + 'pdcupdater.mbs_url': 'https://mbs.stg.fedoraproject.org/module-build-service/2/module-builds/', + {% else %} + 'pdcupdater.mbs_url': 'https://mbs.fedoraproject.org/module-build-service/2/module-builds/', + {% endif %} + # dead.package details {% if env == 'staging' %} 'pdcupdater.file_check_url': 'https://src.stg.fedoraproject.org/%(namespace)s/%(repo)s/blob/%(branch)s/f/%(file)s',