Skip to content

UpdateReboot with composefs disk image#97

Open
HarshwardhanPatil07 wants to merge 2 commits into
bootc-dev:mainfrom
HarshwardhanPatil07:e2e-composefs-test
Open

UpdateReboot with composefs disk image#97
HarshwardhanPatil07 wants to merge 2 commits into
bootc-dev:mainfrom
HarshwardhanPatil07:e2e-composefs-test

Conversation

@HarshwardhanPatil07

Copy link
Copy Markdown

UpdateReboot with Composefs disk image

Closes #74

Ubuntu GHA runners ship registries.conf in the older INI-style (v1)
format. Podman 5+ requires the TOML-based v2 format and rejects v1,
causing podman operations to fail in CI.

Overwrite the file with a minimal v2 registries.conf.

Signed-off-by: HarshwardhanPatil07 <[email protected]>
Factor the TestUpdateReboot body into a shared testUpdateReboot helper
and use a table-driven pattern to run it against both ostree and
composefs disk images. Skip the composefs subtest when the env var is
unset.

A new WithNodeDiskImage NodeOption lets tests override the VM disk image
passed as --node-image to bink node add. The Makefile derives
BINK_NODE_DISK_IMAGE_COMPOSEFS from BINK_NODE_DISK_IMAGE by appending
-composefs.

Bump BINK_COMMIT to pick up the composefs cloud-init fix from bink.

Closes: bootc-dev#74
Signed-off-by: HarshwardhanPatil07 <[email protected]>
@HarshwardhanPatil07 HarshwardhanPatil07 changed the title e2e: add composefs update-reboot test UpdateReboot with composefs disk image Jul 9, 2026

@jlebon jlebon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will let Alice have a look for overall looks sane to me!

Comment thread .github/workflows/ci.yaml
Comment on lines +175 to +179
# Ubuntu runners ship a v1 (INI) registries.conf that Podman >= 5
# rejects. Overwrite with a minimal v2 (TOML) config.
- name: Write v2 registries.conf
run: printf 'unqualified-search-registries = ["docker.io"]\n' | sudo tee /etc/containers/registries.conf

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or we could just... delete that file, no? Will podman fail if it's not present.

Anyway, minor/optional to be clear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Also test composefs node images in CI

2 participants