Skip to content

UpdateReboot with Composefs disk image#91

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

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

Conversation

@HarshwardhanPatil07

@HarshwardhanPatil07 HarshwardhanPatil07 commented Jul 2, 2026

Copy link
Copy Markdown

UpdateReboot with Composefs disk image

Closes #74

@HarshwardhanPatil07 HarshwardhanPatil07 changed the title E2e composefs test e2e composefs test Jul 2, 2026
@HarshwardhanPatil07 HarshwardhanPatil07 changed the title e2e composefs test UpdateReboot with Composefs disk image Jul 2, 2026
Comment thread test/e2e/e2eutil/env.go Outdated
Comment thread Makefile Outdated
Comment thread test/e2e/bootcnode_test.go Outdated
@alicefr

alicefr commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

@HarshwardhanPatil07 many thanks for the PR! A couple of suggestions. Additionally, I would completely drop the second commit and set the default directly in the Makefile.

@alicefr

alicefr commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

@HarshwardhanPatil07 you also need to bump the bink commit in the GHA to the latest inorder to pick up the composefs fix in bink

@HarshwardhanPatil07 HarshwardhanPatil07 force-pushed the e2e-composefs-test branch 4 times, most recently from bda259b to 33a202b Compare July 4, 2026 08:13
@HarshwardhanPatil07

Copy link
Copy Markdown
Author

@alicefr thanks for your review. I have added the changes. Could you please take a look

Comment thread test/e2e/bootcnode_test.go Outdated
@HarshwardhanPatil07

Copy link
Copy Markdown
Author

@alicefr ready for your review! Let me know if anything needs adjusting.

@HarshwardhanPatil07

Copy link
Copy Markdown
Author

Also the tests are not triggered don't know why e2e (1.34) and those?

@alicefr

alicefr commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

They require an approval at every time. I thought it required only once. I will ask today in the bootc meeting how they deal with it. Usually, there is a label that enables subsequent runs.
If you are part of bootc org, then you can run automatically the tests

@HarshwardhanPatil07 HarshwardhanPatil07 deleted the e2e-composefs-test branch July 7, 2026 06:40
@HarshwardhanPatil07 HarshwardhanPatil07 restored the e2e-composefs-test branch July 7, 2026 08:52
Comment thread .github/workflows/ci.yaml
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 <harshpat@redhat.com>
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: #74
Signed-off-by: HarshwardhanPatil07 <harshpat@redhat.com>
@HarshwardhanPatil07 HarshwardhanPatil07 closed this by deleting the head repository Jul 9, 2026
@HarshwardhanPatil07

Copy link
Copy Markdown
Author

I was trying something and see what happens when you delete the fork repository, This got closed liked that, sorry for experimentation. reopened it here. I tried pushing the branch on another fork and recover it like that but didn't worked.

@HarshwardhanPatil07

Copy link
Copy Markdown
Author

probably this is something github can add, maybe

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

3 participants