-
Notifications
You must be signed in to change notification settings - Fork 1
Specifying the Maximum Number of Runners Used in Workflow a Run
By default, the maximum number of runners that could be created for a single workflow run is not defined.
❗Warning: | In general, GitHub does not allow you to assign a job to a specific runner, so any available runner that matches the labels could be used. Therefore, one can't control how runners are allocated to queued workflow run jobs, and this is why the --max-runners-in-workflow-run option will not behave as one would intuitively expect. |
---|
If you set the --max-runners-in-workflow-run to some value X, then github-hetzner-runners will create the X * number of queued workflow runs runners. How these runners will be allocated by GitHub is out of our control. Therefore, the more runs queued-up, the more runners will be created, up to the --max-runners limit, to try to complete the jobs faster. However, this does not mean that you will see exactly X number of jobs being executed in each queued workflow run.
For example,
github-hetzner-runners --max-runners 40 --max-runners-in-workflow-run 5
will create upto 5 runners for each queued up workflow run. If there is only one workflow running, then the maximum number of runners will be 5 unless more queued-up workflow runs appear, which could then speed up the execution of the run in progress.
Developed and maintained by the TestFlows team.
- Home
- Installation
- Quick Start
- Getting Started Tutorial
- Basic Configuration
- Specifying the Maximum Number of Runners
- Specifying the Maximum Number of Runners Used in Workflow a Run
- Recycling Powered‐Off Servers
- Skipping Jobs
- Using Custom Label Prefix
- Jobs That Require the Docker Engine
- Specifying The Runner Type
- Specifying The Runner Location
- Specifying The Runner Image
- Specifying The Custom Runner Server Setup Script
- Specifying The Custom Runner Server Startup Script
- Disabling Setup or Startup Scripts
- Specifying Standby Runners
- Specifying Logger Configuration
- Listing All Current Servers
- Opening The SSH Client To The Server
- Deleting All Runners and Their Servers
- Using a Configuration File
- Specifying SSH Key
- Specifying Additional SSH Keys
- Running as a Service
- Running as a Cloud Service
- Scaling Up Runners
- Scaling Down Runners
- Handling Failing Conditions
- Meta Labels
- Estimating Costs
- Program Options