Replies: 1 comment 2 replies
-
Hi @alexec GARM maintains pools of homologous ephemeral runners. All runners in a specific pool haave the same characteristics, including labels which is what you use in the Once the runner comes online, the runner itself connects to github and subscribes to any jobs that match the set of labels that were defined in the pool you created in GARM. if the labels match, the runner consumes the job and starts running it. This is outaide of the control of GARM. The scope of GARM ends when the runner is spun up with the requested labels. GARM then comes back into scope once the runner has finished running a job and needs to be cleaned up. To spin up runners specific to one PR, you would need to create a pool with a label that matches the value of the expanded variable May I ask why there is a need to uniquely associate a specific set of runners to a PR? There may be an easier way to achieve the desired result. |
Beta Was this translation helpful? Give feedback.
-
I've been told that GARM creates one runner per job. I have a case where my runners (Kubernetes Pods) can only run code from specific pull requests. When the runner starts it is associated with the specific PR . They cannot run any job. I was planning to use
runs-on
to do this.Beta Was this translation helpful? Give feedback.
All reactions