Skip to content

CASL0/actions-runner-controller-helmfile

Repository files navigation

Lint pre-commit License

Deploy ondemand GitHub Actions auto-scaling runners with actions-runner-controller

Actions-runner-controller can controll GitHub Actions auto-scaling runners.

This helmfile provides quick instructions on Kubernetes environments.

Prerequisites

  • Install helmfile.
  • Create a pre-define Kubernetes secret arc-runners-secret in the namespace arc-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.

Getting started

  1. 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
  2. Use the following commands to deploy self-hosted runners.

    helmfile apply
  3. Set the runs-on value to my-arc-runners in your workflows similar to the following.

    jobs:
      build:
        runs-on: my-arc-runners
        steps:
          - run: echo "Hello world!"

Advanced Configuration

See advanced.md.

Contributing

See CONTRIBUTING.md.

Refs

Releases

No releases published

Packages

No packages published