Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configs: update ELN repos #1473

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 61 additions & 68 deletions mock-core-configs/etc/mock/templates/fedora-eln.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ config_opts['eln_rawhide_releasever'] = '42'

config_opts['root'] = 'fedora-eln-{{ target_arch }}'

# Fedora ELN i386 doesn't get composes (isn't mirrored on
# odcs.fedoraproject.org), we need to build using the Koji buildroot.
# Note that similar idiom used in fedora-branched.tpl and fedora-rawhide.tpl.
config_opts['mirrored'] = config_opts['target_arch'] != 'i686'

config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils fedora-release-eln findutils gawk glibc-minimal-langpack grep gzip info patch redhat-rpm-config rpm-build sed tar unzip util-linux which xz'

config_opts['dist'] = 'eln' # only useful for --resultdir variable subst
Expand Down Expand Up @@ -53,11 +48,10 @@ file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-rawhide-primar
{%- endfor %}
{%- endmacro %}

{% if mirrored %}
[eln-baseos]
name=Fedora - ELN BaseOS - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/BaseOS/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/BaseOS/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-baseos-1&arch=$basearch
yselkowitz marked this conversation as resolved.
Show resolved Hide resolved
enabled=1
repo_gpgcheck=0
type=rpm
Expand All @@ -67,8 +61,8 @@ skip_if_unavailable=False

[eln-baseos-debuginfo]
name=Fedora - ELN BaseOS - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/BaseOS/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/BaseOS/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-baseos-debug-1&arch=$basearch
enabled=0
repo_gpgcheck=0
type=rpm
Expand All @@ -78,8 +72,8 @@ skip_if_unavailable=False

[eln-baseos-source]
name=Fedora - ELN BaseOS - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/BaseOS/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/BaseOS/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-baseos-source-1&arch=source
enabled=0
repo_gpgcheck=0
type=rpm
Expand All @@ -90,8 +84,8 @@ skip_if_unavailable=False

[eln-appstream]
name=Fedora - ELN AppStream - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/AppStream/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/AppStream/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-appstream-1&arch=$basearch
enabled=1
repo_gpgcheck=0
type=rpm
Expand All @@ -101,8 +95,8 @@ skip_if_unavailable=False

[eln-appstream-debuginfo]
name=Fedora - ELN AppStream - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/AppStream/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/AppStream/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-appstream-debug-1&arch=$basearch
enabled=0
repo_gpgcheck=0
type=rpm
Expand All @@ -112,8 +106,8 @@ skip_if_unavailable=False

[eln-appstream-source]
name=Fedora - ELN AppStream - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/AppStream/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/AppStream/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-appstream-source-1&arch=source
enabled=0
repo_gpgcheck=0
type=rpm
Expand All @@ -124,8 +118,8 @@ skip_if_unavailable=False

[eln-crb]
name=Fedora - ELN CodeReady Linux Builders - Build packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/CRB/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/CRB/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-crb-1&arch=$basearch
enabled=1
repo_gpgcheck=0
type=rpm
Expand All @@ -135,8 +129,8 @@ skip_if_unavailable=False

[eln-crb-debuginfo]
name=Fedora - ELN CodeReady Linux Builders - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/CRB/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/CRB/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-crb-debug-1&arch=$basearch
enabled=0
repo_gpgcheck=0
type=rpm
Expand All @@ -146,8 +140,8 @@ skip_if_unavailable=False

[eln-crb-source]
name=Fedora - ELN CodeReady Linux Builders - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/CRB/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/CRB/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-crb-source-1&arch=source
enabled=0
repo_gpgcheck=0
type=rpm
Expand All @@ -159,8 +153,8 @@ skip_if_unavailable=False

[eln-extras]
name=Fedora - ELN Extras - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/Extras/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/Extras/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-extras-1&arch=$basearch
enabled=1
countme=1
metadata_expire=6h
Expand All @@ -172,8 +166,8 @@ skip_if_unavailable=False

[eln-extras-debuginfo]
name=Fedora - ELN Extras - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/Extras/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/Extras/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-extras-debug-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -184,8 +178,8 @@ skip_if_unavailable=False

[eln-extras-source]
name=Fedora - ELN Extras - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/Extras/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/Extras/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-extras-source-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -198,8 +192,8 @@ skip_if_unavailable=False

[eln-ha]
name=Fedora - ELN HighAvailability - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/HighAvailability/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/HighAvailability/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-highavailability-1&arch=$basearch
enabled=0
countme=1
metadata_expire=6h
Expand All @@ -211,8 +205,8 @@ skip_if_unavailable=False

[eln-ha-debuginfo]
name=Fedora - ELN HighAvailability - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/HighAvailability/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/HighAvailability/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-highavailability-debug-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -223,8 +217,8 @@ skip_if_unavailable=False

[eln-ha-source]
name=Fedora - ELN HighAvailability - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/HighAvailability/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/HighAvailability/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-highavailability-source-1&arch=source
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -237,8 +231,8 @@ skip_if_unavailable=False

[eln-rs]
name=Fedora - ELN ResilientStorage - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/ResilientStorage/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/ResilientStorage/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-resilientstorage-1&arch=$basearch
enabled=0
countme=1
metadata_expire=6h
Expand All @@ -250,8 +244,8 @@ skip_if_unavailable=False

[eln-rs-debuginfo]
name=Fedora - ELN ResilientStorage - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/ResilientStorage/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/ResilientStorage/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-resilientstorage-debug-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -262,8 +256,8 @@ skip_if_unavailable=False

[eln-rs-source]
name=Fedora - ELN ResilientStorage - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/ResilientStorage/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/ResilientStorage/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-resilientstorage-source-1&arch=source
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -276,8 +270,8 @@ skip_if_unavailable=False

[eln-rt]
name=Fedora - ELN RT - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/RT/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/RT/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-rt-1&arch=$basearch
enabled=0
countme=1
metadata_expire=6h
Expand All @@ -289,8 +283,8 @@ skip_if_unavailable=False

[eln-rt-debuginfo]
name=Fedora - ELN RT - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/RT/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/RT/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-rt-debug-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -301,8 +295,8 @@ skip_if_unavailable=False

[eln-rt-source]
name=Fedora - ELN RT - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/RT/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/RT/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-rt-source-1&arch=source
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -315,8 +309,8 @@ skip_if_unavailable=False

[eln-nfv]
name=Fedora - ELN NFV - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/NFV/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/NFV/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-nfv-1&arch=$basearch
enabled=0
countme=1
metadata_expire=6h
Expand All @@ -328,8 +322,8 @@ skip_if_unavailable=False

[eln-nfv-debuginfo]
name=Fedora - ELN NFV - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/NFV/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/NFV/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-nfv-debug-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -340,8 +334,8 @@ skip_if_unavailable=False

[eln-nfv-source]
name=Fedora - ELN NFV - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/NFV/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/NFV/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-nfv-source-1&arch=source
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -354,8 +348,8 @@ skip_if_unavailable=False

[eln-sap]
name=Fedora - ELN SAP - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/SAP/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/SAP/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-sap-1&arch=$basearch
enabled=0
countme=1
metadata_expire=6h
Expand All @@ -367,8 +361,8 @@ skip_if_unavailable=False

[eln-sap-debuginfo]
name=Fedora - ELN SAP - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/SAP/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/SAP/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-sap-debug-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -379,8 +373,8 @@ skip_if_unavailable=False

[eln-sap-source]
name=Fedora - ELN SAP - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/SAP/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/SAP/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-sap-source-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -393,8 +387,8 @@ skip_if_unavailable=False

[eln-saphana]
name=Fedora - ELN SAPHANA - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/SAPHANA/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/SAPHANA/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-saphana-1&arch=$basearch
enabled=0
countme=1
metadata_expire=6h
Expand All @@ -406,8 +400,8 @@ skip_if_unavailable=False

[eln-saphana-debuginfo]
name=Fedora - ELN SAPHANA - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/SAPHANA/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/SAPHANA/$basearch/debug/tree
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-saphana-debug-1&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
Expand All @@ -418,21 +412,20 @@ skip_if_unavailable=False

[eln-saphana-source]
name=Fedora - ELN SAPHANA - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/SAPHANA/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
#baseurl=https://dl.fedoraproject.org/pub/eln/1/SAPHANA/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-saphana-source-1&arch=source
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-eln-$basearch
skip_if_unavailable=False
{% endif %}

[local]
name=local
baseurl=https://kojipkgs.fedoraproject.org/repos/eln-build/latest/$basearch/
cost=2000
enabled={{ not mirrored }}
enabled=0
skip_if_unavailable=False
"""
1 change: 1 addition & 0 deletions releng/release-notes-next/eln-repo-update.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Fedora ELN template has been updated to download repositories using mirrors from the Fedora MirrorManager system.
Loading