1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 06:45:13 +01:00
Files
bootc/hack/system-reinstall-bootc.exp
Colin Walters a6c87c6667 build-sys: Remove separate integration test image
The previous commit consolidated test content (nushell, cloud-init, etc.)
into the base image. This completes that work by removing the separate
`build-integration-test-image` target and updating all references.

Now `just build` produces the complete test-ready image directly,
simplifying the build pipeline and eliminating the intermediate
`localhost/bootc-integration` image.

Also adds SKIP_CONFIGS support for the coreos testing workflow, which
skips LBIs, test kargs, and install configs that would conflict with FCOS.

Signed-off-by: Colin Walters <walters@verbum.org>
2026-01-08 14:34:23 +01:00

32 lines
837 B
Plaintext
Executable File

#!/usr/bin/expect -f
# Set a timeout
set timeout 600
spawn system-reinstall-bootc localhost/bootc
expect {
"Then you can login as * using those keys. \\\[Y/n\\\]" {
send "\r"
exp_continue
}
"NOTICE: This will replace the installed operating system and reboot. Are you sure you want to continue? \\\[y/N\\\]" {
send "y"
exp_continue
}
"NOTICE: This will replace the installed operating system and reboot. Are you sure you want to continue? \\\[Y/n\\\]" {
send "\r"
exp_continue
}
"Press \\\<enter\\\> to continue" {
send "\r"
exp_continue
}
"Operation complete, rebooting in 10 seconds. Press Ctrl-C to cancel reboot, or press enter to continue immediately" {
send "\x03"
}
}
# Wait for the program to complete
expect eof