2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-12-04 08:07:04 +00:00

test(ci): exercise shared fixture contracts

Run the image and postinstall fixture checks explicitly. Document their isolation boundaries and distinct process result contracts.
This commit is contained in:
Vinícius Ferrão
2026-11-21 03:01:10 -03:00
parent ffdd00d923
commit 19f5232c5a
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -38,6 +38,9 @@ jobs:
- name: Exercise image chroot mounts
if: ${{ !cancelled() }}
run: prove xCAT-test/native/rh_genimage_chroot_mounts.t
- name: Check shared test fixtures
if: ${{ !cancelled() }}
run: prove xCAT-test/native/image_fixture_contract.t xCAT-test/native/postinstall_bootstrap.t
- name: Check Debian probe payload permissions
if: ${{ !cancelled() }}
run: bats xCAT-test/native/probe_debian_permissions.bats
+5
View File
@@ -17,6 +17,11 @@ It can run as root or an ordinary user with user namespaces enabled. This case
checks service policy and ordering; it does not boot or reinstall an OS.
The client steps cannot access the source tree or the server postscripts directory.
`image_fixture_contract.t` checks the shared image fixture's file contents,
mount isolation and caller-specific results. UbuntuImage returns raw wait
status and merged output; ImageSandbox returns a decoded status and separate
output streams. CI runs this case and `postinstall_bootstrap.t` explicitly.
## Ubuntu media and image fixtures
The pull-request workflow runs these four tests explicitly: