Skip to content

refactor: extract the reusable integration preparation - #413

Open
fwiesel wants to merge 1 commit into
ci/integration-libvirt-networkfrom
refactor/integration-hv-prep
Open

fwiesel wants to merge 1 commit into
ci/integration-libvirt-networkfrom
refactor/integration-hv-prep

Conversation

@fwiesel

@fwiesel fwiesel commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

The integration preparation is three actions now: guest prepares the test
guest and the shared SSH identity, build makes a hypervisor root disk, and
setup boots the hypervisors from whatever build wrote to /opt/hv.

setup does not need to know which image produced that directory, so a later
build step replaces one stage instead of forking the workflow.

@fwiesel
fwiesel force-pushed the refactor/integration-hv-prep branch from 8e08620 to d407b69 Compare November 12, 2026 08:20
@fwiesel
fwiesel force-pushed the refactor/integration-hv-prep branch 2 times, most recently from 7155baa to d5537ba Compare November 12, 2026 09:35
@fwiesel
fwiesel force-pushed the refactor/integration-hv-prep branch 23 times, most recently from fe1b2c8 to d22c4f2 Compare November 14, 2026 07:54
@fwiesel
fwiesel force-pushed the refactor/integration-hv-prep branch from d22c4f2 to 57aa606 Compare November 16, 2026 11:01
@fwiesel
fwiesel changed the base branch from main to ci/integration-libvirt-network November 16, 2026 11:02
Preparing the nested test guest, building the hypervisor image, and
booting the hypervisor pair are independent stages. Separating them lets
another hypervisor build step reuse the same guest preparation and the
same hypervisor boot sequence without duplicating or branching inside
either stage.

Each action now carries the tools and templates it consumes: build
installs oras and butane, validates the tag it builds, renders its own
domain XML, and hashes the password of the image it builds, while guest
owns the seed files of the guest it prepares.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
@fwiesel
fwiesel force-pushed the refactor/integration-hv-prep branch from 57aa606 to 83f4bc9 Compare November 16, 2026 12:30
@fwiesel
fwiesel marked this pull request as ready for review November 16, 2026 13:03
@fwiesel
fwiesel requested review from a team as code owners November 16, 2026 13:03
@fwiesel
fwiesel added this pull request to stack #423 November 16, 2026 13:03

This branch has not been deployed

No deployments
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.

1 participant