From 37b38492865faa90b0a42709a3e12a977d4d98c7 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 31 Jul 2018 19:10:36 +0000 Subject: [PATCH] Staging Bodhi should use the staging registry. Signed-off-by: Randy Barlow --- roles/bodhi2/base/templates/production.ini.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 09ea0a1d82..37d86087a7 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -202,6 +202,24 @@ pungi.extracmdline = --notification-script=/usr/bin/pungi-fedmsg-notification -- # What to pass to Pungi's --label flag, which is metadata included in its composeinfo.json. # pungi.labeltype = Update + +# The skopeo executable to use to copy container images. +# You can put credentials for skopeo to use in $HOME/.docker/config.json +# https://github.com/projectatomic/skopeo#private-registries-with-authentication +# skopeo.cmd = /usr/bin/skopeo + +# Comma separated list of extra flags to pass to the skopeo copy command. +# skopeo.extra_copy_flags = + +# Container hostnames. You can specify a port as well, using the traditional syntax (i.e., localhost:5000). +# container.destination_registry = registry.fedoraproject.org +# container.source_registry = candidate-registry.fedoraproject.org +{% if env == 'staging' %} +container.destination_registry = registry.stg.fedoraproject.org +container.source_registry = candidate-registry.stg.fedoraproject.org +{% endif %} + + ## ## Mirror settings ##