Skip to content

Improvements to GCP testing workflow#351

Merged
jonathanspw merged 6 commits into
mainfrom
cit-custom-build
May 19, 2026
Merged

Improvements to GCP testing workflow#351
jonathanspw merged 6 commits into
mainfrom
cit-custom-build

Conversation

@jonathanspw
Copy link
Copy Markdown
Member

No description provided.

Adds two opt-in workflow_dispatch inputs to GCP: Test Image so a CIT
fork/branch can be built and used in place of
gcr.io/compute-image-tools/cloud-image-tests:latest:

  - cit_git_repo: owner/repo of a CIT fork (empty = use prebuilt)
  - cit_git_ref:  branch, tag, or SHA (empty = repo default branch)

When cit_git_repo is set, a new build-cit job clones, runs
`docker build`, and publishes the image as a 1-day-retention artifact
(cit-custom-image). The four test jobs each `needs: build-cit`, then
conditionally download + `docker load` the tarball and pass
`image_ref: cit-custom:run-<run_id>` to cit-run-with-retry. The x86_64
per-shape job's load step uses ${{ env.docker_cmd }} so the
podman-based AlmaLinux runner works identically.

The cit-run-with-retry composite action gains an `image_ref` input
(defaulting to the upstream prebuilt) plumbed through to the script as
$CIT_IMAGE; the previously-hardcoded image string in
cit-run-with-retry.sh now reads `${CIT_IMAGE:-<upstream>}`.

When both inputs are empty, behavior is unchanged: build-cit is
skipped, GHA treats skipped needs as non-blocking, the conditional
load steps don't run, and the test jobs pull the upstream image as
before.
test-gcp-nonpershape ran the same `^(lssd|disk|vmspec)$` filter as
test-gcp-initialtest with no gating role and lower parallelism (10s
stagger vs 1s, no parallel_count). The two jobs duplicated coverage,
so keep only initialtest (which the per-shape matrix depends on).

Port the {x86_64,aarch64}_shape_override workflow inputs over: when
set, they now pin the smoke-test shape on test-gcp-initialtest;
otherwise the previous defaults (c4-standard-8 / c4a-standard-8)
apply. Update the input descriptions accordingly.

Drop test-gcp-nonpershape from summarize-quota-failures' needs list;
the matching quota-failures-nonpershape-* artifact group is no
longer emitted.
The `network` test suite is inconsistent (pass/fail varies across
reruns of the same shape × image). Drop it from both per-shape
filters (x86_64 and aarch64) until the upstream flakiness is sorted.
@jonathanspw jonathanspw merged commit 699be3d into AlmaLinux:main May 19, 2026
1 check passed
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