Skip to content

Commit

Permalink
configs: the stream9 image is "ready" for Mock bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Sep 24, 2024
1 parent 2d84abe commit a381646
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions behave/features/hermetic-build.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ Feature: Mock 5.7+ supports hermetic builds
@hermetic_build
Scenario: Hermetic build against a DNF4 distribution
Given an unique mock namespace
# Temporary image, until we resolve https://issues.redhat.com/browse/CS-2506
And next mock call uses --config-opts=bootstrap_image=quay.io/mock/behave-testing-c9s-bootstrap option
And next mock call uses --config-opts=bootstrap_image_ready=True option
When deps for mock-test-bump-version-1-0.src.rpm are calculated against centos-stream+epel-9-x86_64
And a local repository is created from lockfile
And a hermetic build is retriggered with the lockfile and repository
Expand Down
1 change: 1 addition & 0 deletions mock-core-configs/etc/mock/templates/centos-stream-9.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['description'] = 'CentOS Stream 9'

config_opts['bootstrap_image'] = 'quay.io/centos/centos:stream9'
config_opts['bootstrap_image_ready'] = True

config_opts['dnf.conf'] = """
[main]
Expand Down
3 changes: 3 additions & 0 deletions releng/release-notes-next/c9s-image-ready.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The centos-stream-9 (and transitively centos-stream+epel-9) configuration has
been fixed to rely on "bootstrap image" readiness for Mock builds
[issue#1442][].

0 comments on commit a381646

Please sign in to comment.