Repository navigation
Description
User Story
As a contributor waiting on Branch E2E, I want the tmachine E2E rows to start as soon as their inputs are ready, so that a PR's E2E result arrives sooner.
Description
In Branch E2E, the tmachine rows wait for prepare-integration, which waits for the Debian package (build-deb). The deb was the last input to finish in runs 43312288101, 43257220972 and 43237169662, 5.1, 7.1 and 5.4 minutes after the next-latest input (the RPM).
The deb job is mostly overhead. It runs on the self-hosted linux-*-cpu8 pool inside the ~1.5 GB CI image. Waiting for a runner took 0.5–3.6 min and starting the container ~85 s, for an ~20 s dpkg-deb build. In two of those three runs, the VM driver build that build-deb waits for finished at the same time as the RPM, so the deb job's own queue and startup caused most of the delay.
Proposed change
Run the deb job on GitHub-hosted ubuntu-24.04 with no job container. package-deb.sh needs only install, sed, gzip and dpkg-deb, and takes the target architecture from OPENSHELL_DEB_ARCH, so both architectures build on amd64.
Every caller keeps building the same deb, including the VM driver. Making the deb optional without the VM driver was considered and dropped: Branch E2E would then test a different package than the one we release.
podman-e2e-integration always ends the run, so the rows starting earlier shortens the whole run by the same amount.
Context
- Parent: test: retire the old e2e test system onto testkit #5281
.github/workflows/branch-e2e.yml(build-deb,prepare-integration).github/workflows/deb-package.yml,tasks/scripts/package-deb.sh- Other callers of
deb-package.yml:release-build.yml,release-dev.yml
Definition of Done
- The deb job runs on a hosted runner without the CI container.
- Every caller still produces a deb that includes the VM driver.
- Branch E2E passes, and the PR records before/after row start times.
Activity
[-]ci(e2e): don't make the Branch E2E deb wait for the VM driver[/-][+]ci(e2e): build the Debian package on a hosted runner[/+]