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

Fix the Fedora ELN bootstrap image #1239

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
5 changes: 4 additions & 1 deletion mock-core-configs/etc/mock/templates/fedora-eln.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils f
config_opts['dist'] = 'eln' # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['package_manager'] = 'dnf'
config_opts['bootstrap_image'] = 'fedora:latest'

# Per https://github.com/fedora-eln/eln/issues/164 updated up to 4 times a day.
# Docs: https://docs.fedoraproject.org/en-US/eln/deliverables/#_container_image
config_opts['bootstrap_image'] = 'quay.io/fedoraci/fedora:eln'

config_opts['dnf.conf'] = """
[main]
Expand Down
5 changes: 5 additions & 0 deletions releng/release-notes-next/fedora-eln-image.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Previous versions of mock-core-configs referenced `fedora:latest` bootstrap
images for `fedora-rawhide-ARCH` chroots, which led to [package
incompatibilities][issue#1238]. Turns out ELN folks already provide a ["native"
ELN image](https://docs.fedoraproject.org/en-US/eln/deliverables/#_container_image)
so the new configs have switched to use that.