Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/returngis/actions-runner-controller-demo
Actions Runner Controller demo using Dev Containers
https://github.com/returngis/actions-runner-controller-demo
actions-runner-controller github-actions
Last synced: about 1 month ago
JSON representation
Actions Runner Controller demo using Dev Containers
- Host: GitHub
- URL: https://github.com/returngis/actions-runner-controller-demo
- Owner: returngis
- Created: 2024-01-28T22:46:00.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T13:41:46.000Z (2 months ago)
- Last Synced: 2024-11-12T14:33:30.771Z (2 months ago)
- Topics: actions-runner-controller, github-actions
- Language: Shell
- Homepage: https://www.returngis.net/2024/02/como-desplegar-y-escalar-github-self-hosted-runners-en-kubernetes/
- Size: 781 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Actions Runner Controller demo using Dev Containers
Hi developer ๐๐ป!
With this repo you can test how Actions Runner Controller works using Dev Containers ๐ณ So you don't have to deploy any Kubernetes cluster anywhere ๐ค
Just clone this and install [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) in your Visual Studio Code, create a GitHub App with this permissions:
- **Repository permissions**: `Actions: Read-only` and `Metadata: Read-only`
- **Organization permissions**: `Self-hosted runners: read and write`Install your GitHub App in your organization and copy your App ID and your Installation ID in a .env file inside .devcontainer folder with this format:
```
GITHUB_APP_ID=
GITHUB_APP_INSTALLATION_ID=
```Last thing is generate a private key for your GitHub App and save it as `private-key.pem` in .devcontainer. And you are ready to go! The only thing missing is to Reopen in Container:
If you speak/understand Spanish ๐ช๐ธ you can read the detail here: [Cรณmo desplegar y escalar GitHub self-hosted runners en Kubernetes](https://www.returngis.net/2024/02/como-desplegar-y-escalar-github-self-hosted-runners-en-kubernetes/)
See you ๐๐ป!