network/.github/workflows
Rich Megginson bc339a17f4 ci: Add support for bootc end-to-end validation tests
NOTE: This also requires upgrading to tox-lsr 3.10.0, and some
hacks to workaround a podman issue in ubuntu.

These tests run the role during a bootc container image build, deploy
the container into a QEMU VM, boot that, and validate the expected
configuration there. They run in two different tox environments, and
thus have to be run in two steps (preparation in buildah, validation in
QEMU). The preparation is expected to output a qcow2 image in
`tests/tmp/TESTNAME/qcow2/disk.qcow2`, i.e. the output structure of
<https://github.com/osbuild/bootc-image-builder>.

There are two possibilities:

* Have separate bootc end-to-end tests. These are tagged with
`tests::bootc-e2` and are skipped in the normal qemu-* scenarios.
They run as part of the container-* ones.

* Modify an existing test: These need to build a qcow2 image exactly
*once* (via calling `bootc-buildah-qcow.sh`) and skip setup/cleanup
and role invocations in validation mode, i.e. when
`__bootc_validation` is true.

In the container scenario, run the QEMU validation as a separate step in
the workflow.

See https://issues.redhat.com/browse/RHEL-88396

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2025-06-03 16:36:50 -06:00
..
ansible-lint.yml ci: Add support for bootc end-to-end validation tests 2025-06-03 16:36:50 -06:00
ansible-managed-var-comment.yml ci: Add support for bootc end-to-end validation tests 2025-06-03 16:36:50 -06:00
ansible-test.yml ci: Add support for bootc end-to-end validation tests 2025-06-03 16:36:50 -06:00
build_docs.yml ci: Add Fedora 42; use tox-lsr 3.9.0; use lsr-report-errors for qemu tests 2025-05-19 14:28:25 -06:00
changelog_to_tag.yml ci: Bump mathieudutour/github-tag-action from 6.1 to 6.2 2024-04-02 10:56:39 -04:00
codeql.yml ci: Bump github/codeql-action from 2 to 3 2024-01-03 13:24:24 -07:00
codespell.yml ci: Check spelling with codespell 2025-02-14 11:06:01 +00:00
markdownlint.yml build(deps): bump actions/checkout from 3 to 4 2023-10-02 14:56:28 -06:00
pr-title-lint.yml ci: add YAML header to github action workflow files 2024-10-16 11:33:39 -06:00
python-unit-test.yml ci: Add support for bootc end-to-end validation tests 2025-06-03 16:36:50 -06:00
qemu-kvm-integration-tests.yml ci: Add support for bootc end-to-end validation tests 2025-06-03 16:36:50 -06:00
shellcheck.yml build(deps): bump actions/checkout from 3 to 4 2023-10-02 14:56:28 -06:00
test_converting_readme.yml build(deps): bump actions/checkout from 3 to 4 2023-10-02 14:56:28 -06:00
tft.yml ci: Add Fedora 42; use tox-lsr 3.9.0; use lsr-report-errors for qemu tests 2025-05-19 14:28:25 -06:00
tft_citest_bad.yml ci: several changes related to new qemu test, ansible-lint, python versions, ubuntu versions 2025-04-11 13:15:18 -06:00
weekly_ci.yml ci: bump actions/github-script from 6 to 7 2023-12-01 14:56:36 -07:00
woke.yml ci: add YAML header to github action workflow files 2024-10-16 11:33:39 -06:00