Files
runner/docs/automate.md
Bryan MacFarlane de317dba60 markdown
2020-04-15 11:45:17 -04:00

851 B

Automate Configuring Self-Hosted Runner Pools

Latest Release as Service on Nix VMs

Run or copy this script for your use to automate configuring a runner as a service on Linux or Mac

Export PAT

Create a GitHub PAT and export it before running the script

export RUNNER_CFG_PAT=yourPAT

Ceate service one liner

Repo level one liner; replace with yourorg/yourrepo (repo level) or just yourorg (org level)

curl https://raw.githubusercontent.com/actions/runner/automate/scripts/create-latest-svc.sh | bash -s yourorg/yourrepo

Uninstall service one liner

Repo level one liner; replace with yourorg/yourrepo (repo level) or just yourorg (org level)

curl https://raw.githubusercontent.com/actions/runner/automate/scripts/remove-svc.sh | bash -s yourorg/yourrepo