Forge staging: Add 'fedora' label to all fedora-N runners #3386
No reviewers
Labels
No labels
ai-review-please
freeze-break-request
post-freeze
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/ansible!3386
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "adamwill/ansible:forge-stg-runners-label-fedora"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are six global 'fedora' runners in staging forgejo, each with a
different label. This makes it awkward to create workflows as you have to
arbitrarily tie them to a single runner for no very good reason. If we
give them all the 'fedora' label you can just set your workflow to run on
'fedora' and it will run on any available runner.
Also, at least for the quality org, our prod runners have the 'fedora' label,
so if the global staging runners have the same label, we can reuse workflows
between staging and prod.
Signed-off-by: Adam Williamson awilliam@redhat.com
@ -4,3 +4,4 @@labels:- fedora-1- fedoraimage: code.forgejo.org/forgejo/runner:11Does this mean we're getting Debian 11 by default? Could we also change this to receive the latest stable Fedora image by default? It would make sense to have the label
fedoramean we're getting a Fedora container...Note that this has
scope: global, so these 6 runners are shared across the whole staging Forge (I finally understand the setup!). If Infra really wants to default to Debian for some reason, perhaps we could get ascope: qualityhost with a Fedora container instead?@kparal wrote in #3386 (comment):
Yes.
See forge/forge#332 . We at least need an image that has nodejs in it, or else the checkout action (used by the vast majority of workflows) doesn't work. That makes it more complicated.
The nodejs can be also installed by the action itself, if you insist on using use fedora based container.
@adamwill wrote in #3386 (comment):
You're getting
node:22-bookwormas a default, so Debiain 12. Therunner:11refers to the base forgejo runner itself, not to the runtime image.Sure, but it seemed wildly inefficient to me at the time. Still, with the caching stuff they added in v14 or whatever, it might not be too bad?
LGTM, I see no reason why to not have them under one label, except perhaps for debugging. Staging is meant for testing stuff and searching for logs across 6 different services might be harder.
CC @humaton