tf-cloud-test/Ephemeral Yandex Cloud GitHub self-hosted runner

Provides commands to create and destroy Yandex Cloud-based GitHub Action self-hosted runner VM. A cloud-init startup script is used to bootstrap the VM. Fork of related-sciences/gce-github-runner.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
action`start` or `stop` of the runneryesstart
github_auth_tokenGitHub auth token. Needs `repo`/`public_repo` scope: https://docs.github.com/en/rest/reference/actions#self-hosted-runners.yes
folder_idYandex Cloud folder IDyes
sa_json_pathPath to the service account key JSON file.yes
runner_verVersion of the GitHub Runneryes2.278.0
zoneAvailability zoneyesru-central1-a
name_prefixVM name prefix for easier identificationyesgh-runner
memoryAmount of RAM in GB. Yandex Cloud default is 2.no2
coresAmount of CPU cores. Yandex Cloud default is 2.no2
disk_sizeVM disk size. Default depends on image type.no10
runner_saService account to bind to VM.yes
subnet_idID of a runner subnet.yes
image_familyImage family for the operating system for the boot disk to be initialized with.no
shutdown_timeoutGrace period for the `stop` action, in secondsno30
actions_preinstalledWhether the image has Runner pre-installed at `/actions-runner`notrue
instance_nameName of created Yandex Cloud Runner VMnoplaceholder
instance_idInstance ID of created Yandex Cloud Runner VMnoplaceholder
namedescription
labelUnique runner label. This label can be used to request a specific runner for the workflow job.
instance_idInstance ID of the created runner. Required for automatic instance deletion.