Skip to content

Drop common runner and add architecture name to runner names in Schutzfile - #2672

Merged
achilleas-k merged 4 commits into
osbuild:mainfrom
achilleas-k:runner-fiddling
Sep 14, 2026
Merged

achilleas-k merged 4 commits into
osbuild:mainfrom
achilleas-k:runner-fiddling

Conversation

@achilleas-k

Copy link
Copy Markdown
Member

This PR makes two changes to the way we configure CI runners in GitLab:

  • Adds the full runner name, including architecture, to the runner configs instead of appending it automatically when generating build configs for gitlab CI.
  • Removes the common runner and relies on the globbing functionality of gitlab-ci-runner-for to control the fallback (common) runner strings.

This will help with HMS-10340 since it will allow us to set the runner to, for example, aws/fedora-44-x86_64-kvm without needing to think about how the architecture gets appended.

This isn't necessary nor does it make any functional difference, but it
helps with reproducibility for troubleshooting and refactoring.
Remove the gitlab-ci-runner that was used to define a common runner and
rely on the globbing functionality of gitlab-ci-runner-for.

This commit has only one functional effect on the gitlab-ci.yml file:
The RHEL 7.9 build config generation now runs on CentOS Stream 9,
because that's the runner that's configured for the RHEL 7.9 builds.

This commit also removes the distro argument from get_osbuild_commit().
We never defined different osbuild commit IDs for different distros, so
it's safe to only have a common dependency.
Add the full runner name, including architecture, to the runner configs
and don't append it automatically when generating build configs for
gitlab CI.

With this, it's easier to use specific runners, or runner variants, like
fedora-44-x86_64-kvm.
Bump the rng seed to rebuild everything to make sure the config
generators work.
@achilleas-k

Copy link
Copy Markdown
Member Author

FYI @tkoscieln

@achilleas-k
achilleas-k added this pull request to the merge queue Sep 14, 2026
Merged via the queue into osbuild:main with commit c93cc6d Sep 14, 2026
54 checks passed
@achilleas-k
achilleas-k deleted the runner-fiddling branch September 14, 2026 16:18
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.

2 participants