Skip to content

Commit 82b723f

Browse files
committed
build-sys: Use stream10 by default
The rationale for having c9s by default was that it's a lower bound (which is still true). But our CI covers that; I'd rather now have the default be c10s be the default as it will be the focus of features going forward. Signed-off-by: Colin Walters <[email protected]>
1 parent f9bfed2 commit 82b723f

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

Dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# Build this project from source and drop the updated content on to
2-
# a bootc container image. By default we use CentOS Stream 9 as a base;
3-
# use e.g. --build-arg=base=quay.io/fedora/fedora-bootc:41 to target
1+
# Build this project from source and write the updated content
2+
# (i.e. /usr/bin/bootc and systemd units) to a new derived container
3+
# image. See the `Justfile` for an example
4+
#
5+
# Use e.g. --build-arg=base=quay.io/fedora/fedora-bootc:42 to target
46
# Fedora instead.
57

6-
ARG base=quay.io/centos-bootc/centos-bootc:stream9
8+
ARG base=quay.io/centos-bootc/centos-bootc:stream10
79

10+
# This first image captures a snapshot of the source code,
11+
# note all the exclusions in .dockerignore.
812
FROM scratch as src
913
COPY . /src
1014

@@ -37,7 +41,7 @@ EORUN
3741

3842
# This image installs build deps, pulls in our source code, and installs updated
3943
# bootc binaries in /out. The intention is that the target rootfs is extracted from /out
40-
# back into a final stae (without the build deps etc) below.
44+
# back into a final stage (without the build deps etc) below.
4145
FROM base as build
4246
# Flip this off to disable initramfs code
4347
ARG initramfs=1

crates/tests-integration/src/system_reinstall.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ pub(crate) fn run(image: &str, testargs: libtest_mimic::Arguments) -> Result<()>
151151

152152
// Run system-reinstall-bootc
153153
let mut p: PtySession = rexpect::spawn(
154-
"/usr/bin/system-reinstall-bootc quay.io/centos-bootc/centos-bootc:stream10",
154+
"/usr/bin/system-reinstall-bootc quay.io/centos-bootc/centos-bootc:stream9",
155155
Some(600000), // Increase timeout for pulling the image
156156
)?;
157157

158-
p.exp_string("Image quay.io/centos-bootc/centos-bootc:stream10 is not present locally, pulling it now.")?;
158+
p.exp_string("Image quay.io/centos-bootc/centos-bootc:stream9 is not present locally, pulling it now.")?;
159159
p.exp_regex("Found only one user ([^:]+) with ([\\d]+) SSH authorized keys.")?;
160160
p.exp_string("[Y/n]")?;
161161
p.send_line("y")?;

0 commit comments

Comments
 (0)