-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tagged runner system #17246
Tagged runner system #17246
Conversation
This allows us to set the variable TAGGED_RUNNERS to run most jobs on runners with some tags (exceptions: the bench, the docker job). Then we can enable shared runners permanently for the docker job without them being enabled for other jobs.
44bf0ed
to
18d7ebc
Compare
Any assignee? |
I'm not competent enough to assign this PR. Maybe @Zimmi48 ? |
tags: | ||
- not-a-real-tag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't put the autotags in default because the conditional is done by conditionally including, so this makes sure we don't forget to us them on some job (and makes us be explicit about the jobs that use other tags like docker).
I guess maybe instead the -mode files could define
.default-template:
interruptible: ...
and the main file would have
default:
extends:
- .default-template
- .auto-use-tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, although I don't mind your current solution.
Requires backporting to active branches before setting the |
@coqbot merge now |
FWIW, I've backported this PR, so it should be possible to start making use of it. |
This allows us to set the variable TAGGED_RUNNERS to run most jobs on runners with some tags (exceptions: the bench, the docker job).
Then we can enable shared runners permanently for the docker job without them being enabled for other jobs.