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
2 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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.