Skip to main content

GitHub Action Runner


Action Runner Controller

설치


helm pull oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller \
--version 0.9.1
helm show values oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller \
--version 0.9.1 \
> gha-runner-scale-set-controller-0.9.1.yaml
helm template gha-controller gha-runner-scale-set-controller-0.9.1.tgz \
-n github \
-f gha-runner-scale-set-controller-values.yaml \
> gha-controller.yaml
helm upgrade gha-controller gha-runner-scale-set-controller-0.9.1.tgz \
--install \
--history-max 5 \
-n github \
-f gha-runner-scale-set-controller-values.yaml

AutoscalingRunnerSet

helm pull oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set \
--version 0.9.1
helm show values oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set \
--version 0.9.1 \
> gha-runner-scale-set-0.9.1.yaml
gha-runner-scale-set-values.yaml
githubConfigUrl: https://github.com/<repo|org|enter>
githubConfigSecret:
github_token: <token>
helm template <runnerName> gha-runner-scale-set-0.9.1.tgz \
-n github \
-f gha-runner-scale-set-values.yaml \
> gha-runner.yaml
warning

<runnerName>은 Github Action 설정 파일의 .jobs.<jobName>.runs-on에 사용될 값이므로 적절한 이름을 사용해야합니다.

helm upgrade <runnerName> gha-runner-scale-set-0.9.1.tgz \
--install \
--history-max 5 \
-n github \
-f gha-runner-scale-set-values.yaml