Forge staging: Add 'fedora' label to all fedora-N runners #3386

Merged
adamwill merged 1 commit from adamwill/ansible:forge-stg-runners-label-fedora into main 2026-06-23 11:38:30 +00:00
6 changed files with 6 additions and 0 deletions

View file

@ -3,4 +3,5 @@ name: fedora-1
scope: global
labels:
- fedora-1
- fedora
image: code.forgejo.org/forgejo/runner:11

Does 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 fedora mean we're getting a Fedora container...

Does 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 `fedora` mean 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 a scope: quality host with a Fedora container instead?

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 a `scope: quality` host with a Fedora container instead?

@kparal wrote in #3386 (comment):

Does this mean we're getting Debian 11 by default?

Yes.

Could we also change this to receive the latest stable Fedora image by default? It would make sense to have the label fedora mean we're getting a Fedora container...

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.

@kparal wrote in https://forge.fedoraproject.org/infra/ansible/pulls/3386#issuecomment-794971: > Does this mean we're getting Debian 11 by default? Yes. > Could we also change this to receive the latest stable Fedora image by default? It would make sense to have the label `fedora` mean we're getting a Fedora container... See https://forge.fedoraproject.org/forge/forge/issues/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):

Does this mean we're getting Debian 11 by default?

You're getting node:22-bookworm as a default, so Debiain 12. The runner:11 refers to the base forgejo runner itself, not to the runtime image.

The nodejs can be also installed by the action itself, if you insist on using use fedora based container. @adamwill wrote in https://forge.fedoraproject.org/infra/ansible/pulls/3386#issuecomment-795163: > Does this mean we're getting Debian 11 by default? You're getting `node:22-bookworm` as a default, so Debiain 12. The `runner:11` refers to the base forgejo runner itself, not to the runtime image.

The nodejs can be also installed by the action itself, if you insist on using use fedora based container.

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?

> The nodejs can be also installed by the action itself, if you insist on using use fedora based container. 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?

View file

@ -3,4 +3,5 @@ name: fedora-2
scope: global
labels:
- fedora-2
- fedora
image: code.forgejo.org/forgejo/runner:11

View file

@ -3,4 +3,5 @@ name: fedora-3
scope: global
labels:
- fedora-3
- fedora
image: code.forgejo.org/forgejo/runner:11

View file

@ -3,4 +3,5 @@ name: fedora-4
scope: global
labels:
- fedora-4
- fedora
image: code.forgejo.org/forgejo/runner:11

View file

@ -3,4 +3,5 @@ name: fedora-5
scope: global
labels:
- fedora-5
- fedora
image: code.forgejo.org/forgejo/runner:11

View file

@ -3,4 +3,5 @@ name: fedora-6
scope: global
labels:
- fedora-6
- fedora
image: code.forgejo.org/forgejo/runner:11