Our fork of the machulav/ec2-github-runner for the horizontally scaled CI runner of app-endpoints.
Check the internal docs.
-
Includes #165: "Allow providing ec2-instance-count to start multiple runners"
We need several instances one for each portion.
-
A workaround for #60: "Support multiple regions/availabilty zones if an instance type cannot be started"
This minimizes the chance of the
InsufficientInstanceCapacity
error, by balancing and trying subnetworks in different subzones -
Reduce the waiting and polling intervals for the runners registering.This allows to save around 45' on the "start" step.Reverted in 5659035ee505 because we were hitting Github's rate limit for personal tokens.
-
Increases the page size when listing runners to reduce the number or requests to Github API.
-
Avoid failures when other runners are already registered with same name by assigning a random name to the instances.