From fd1351868736367da8c9a4c76e83e047177a87fc Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 10 Jun 2026 13:56:12 -0400 Subject: [PATCH] Include the Koji config for prod and stg We copy the files instead of installing the 'fedora-packager' package because it pulls in far too many dependencies. Signed-off-by: Stephen Gallagher --- Dockerfile | 5 +++++ koji_config/fedora.conf | 16 ++++++++++++++++ koji_config/stg.conf | 16 ++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 koji_config/fedora.conf create mode 100644 koji_config/stg.conf diff --git a/Dockerfile b/Dockerfile index a9e7110..abbde8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,11 @@ RUN INSTALL_PKGS="python3 python3-devel python3-setuptools python3-pip python3-v dnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS && \ dnf -y clean all --enablerepo='*' +# Copy in the Koji config files rather than installing fedora-packager because +# it pulls in far too many dependencies. +COPY koji_config/fedora.conf /etc/koji.conf.d/fedora.conf +COPY koji_config/stg.conf /etc/koji.conf.d/stg.conf + RUN mkdir -p /etc/elnbuildsync && \ chgrp -R 0 /etc/elnbuildsync && \ chmod -R g=u /etc/elnbuildsync diff --git a/koji_config/fedora.conf b/koji_config/fedora.conf new file mode 100644 index 0000000..429d679 --- /dev/null +++ b/koji_config/fedora.conf @@ -0,0 +1,16 @@ +[fedora] + +;configuration for koji cli tool + +;url of XMLRPC server +server = https://koji.fedoraproject.org/kojihub + +;url of web interface +weburl = https://koji.fedoraproject.org/koji + +;url of package download site +topurl = https://kojipkgs.fedoraproject.org/ + +authtype = kerberos + +use_fast_upload = yes diff --git a/koji_config/stg.conf b/koji_config/stg.conf new file mode 100644 index 0000000..6e1c733 --- /dev/null +++ b/koji_config/stg.conf @@ -0,0 +1,16 @@ +[stg] + +;configuration for koji cli tool + +;url of XMLRPC server +server = https://koji.stg.fedoraproject.org/kojihub + +;url of web interface +weburl = https://koji.stg.fedoraproject.org/koji + +;url of package download site +topurl = https://kojipkgs.stg.fedoraproject.org/ + +authtype = kerberos + +use_fast_upload = yes