Actions-runner-controller can controll GitHub Actions auto-scaling runners.
This helmfile provides quick instructions on Kubernetes environments.
- Install helmfile.
- Create a pre-define Kubernetes secret
arc-runners-secret
in the namespacearc-runners
the gha-runner-scale-set is going to deploy to authenticate Actions Runner Controller (ARC) to the GitHub API by using a GitHub App or by using a personal access token (classic). For more information, see Authenticating to the GitHub API.
-
Set the
githubConfigUrl
value in the file default.values.yaml to the GitHub url for where you want to configure runners.githubConfigUrl: https://github.com/CASL0/actions-runner-controller-helmfile
-
Use the following commands to deploy self-hosted runners.
helmfile apply
-
Set the
runs-on
value tomy-arc-runners
in your workflows similar to the following.jobs: build: runs-on: my-arc-runners steps: - run: echo "Hello world!"
See advanced.md.
See CONTRIBUTING.md.