tests/CI: Add runners for RHEL 9.6 GA and 10.0 GA

Add new GA runners and remove the old 9.5 GA runner. Remove repo overrides for new runners as well. Add a comment explaining why a regression-old-worker-new-composer test will fail when a new major version GA runner is added.
This commit is contained in:
Tom Koscielniak 2025-07-02 13:49:51 +02:00 committed by Tomáš Koscielniak
parent dc66a845bc
commit d19d933fe8
3 changed files with 38 additions and 100 deletions

View file

@ -28,6 +28,9 @@ DESIRED_WORKER_RPM="osbuild-composer-worker-$((CURRENT_WORKER_VERSION - 3))"
# Get the commit hash of the worker version we want to test by comparing the
# tag for 2 versions back - since the current version might still be unreleased,
# we subtract 3 from the current version.
# WARNING - with introduction of a new major version, new `rhel-*-cdn` directory on S3 AWS bucket will be new as well
# that means it will lack the repositories built from commits tagged with previous versions,
# so you need to manually copy them there from directories for minor versions on the same S3 AWS bucket.
DESIRED_TAG_SHA=$(curl -s "https://api.github.com/repos/osbuild/osbuild-composer/git/ref/tags/v$((CURRENT_WORKER_VERSION-3))" | jq -r '.object.sha')
DESIRED_COMMIT_SHA=$(curl -s "https://api.github.com/repos/osbuild/osbuild-composer/git/tags/$DESIRED_TAG_SHA" | jq -r '.object.sha')