From 38fa375e0a17545cdc338d39cb0fcffcb8f6cb59 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Oct 08 2024 20:10:00 +0000 Subject: fedora-image-uploader: add configuration for prod container uploading We've finally ironed out the issues in stage with this, so this is the configuration to enable it in production. This should be rolled out in conjunction with disabling the bash script that currently handles image pushes. --- diff --git a/roles/openshift-apps/cloud-image-uploader/templates/config.toml b/roles/openshift-apps/cloud-image-uploader/templates/config.toml index 7a3ca78..61d3870 100644 --- a/roles/openshift-apps/cloud-image-uploader/templates/config.toml +++ b/roles/openshift-apps/cloud-image-uploader/templates/config.toml @@ -105,12 +105,42 @@ storage_account_type = "Standard_ZRS" {% endif %} + +[consumer_config.container] +publish_amqp_messages = true + {% if env == "staging" %} + +[consumer_config.container.repos] +Container_Toolbox = "fedora-toolbox" +Container_Minimal_Base = "fedora-minimal" +Container_Base = "fedora" +BaseOS = "eln" +Silverblue = "fedora-silverblue" +Kinoite = "fedora-kinoite" +Onyx = "fedora-onyx" +Sericea = "fedora-sericea" +bootc = "fedora-bootc" +IoT_bootc_base = "fedora-iot" + [[consumer_config.container.registries]] url = "registry.stg.fedoraproject.org" credential_prefix = "FEDORA_REGISTRY_" -{% endif %} +{% else %} + +[consumer_config.container.repos] +BaseOS = "eln" + +[[consumer_config.container.registries]] +url = "registry.fedoraproject.org" +credential_prefix = "FEDORA_REGISTRY_" + +[[consumer_config.container.registries]] +url = "quay.io/fedora" +credential_prefix = "QUAY_IO_" + +{% endif %} [qos] prefetch_size = 0