karuppiah7890 / karuppiah7890/vmc-github-runner

Ideas

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- This will be a web hook service
- It will be written in Golang
- It will get web hook notifications from GitHub whenever GitHub Actions workflows run
- For every runner required, it will dynamically create GitHub Action Runner using GitHub API, for the particular repo, to get a token for the runner registration / configuration
- For every runner required, it will dynamically create and start VMs that register themselves as GitHub Actions Runners when they start up. The VMs will have GitHub Actions Runner software within them and the GitHub Action Runner Token will be injected during startup
- Once the workflows stop, regardless of workflow success or failure or cancellation, the VMs that were runners will be killed and the GitHub Actions Runner will be de-registered from the repo using the GitHub API

Things to think about
- What happens when we don't get notification that the workflow has stopped? Maybe kill the VMs and de-register after a timeout?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.