https://github.com/BagToad/gh-mini-arc
A gh extension to start up a ARC deployment in minikube via codespaces.
https://github.com/BagToad/gh-mini-arc
gh-extension
Last synced: 4 months ago
JSON representation
A gh extension to start up a ARC deployment in minikube via codespaces.
- Host: GitHub
- URL: https://github.com/BagToad/gh-mini-arc
- Owner: BagToad
- License: mit
- Created: 2024-04-26T15:34:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T15:31:34.000Z (about 2 years ago)
- Last Synced: 2025-05-16T10:45:27.108Z (about 1 year ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gh-extensions - BagToad/gh-mini-arc - 11-21 | A gh extension to start up a ARC deployment in minikube via codespaces. | (🧩 Categories / Automation / DevOps)
README
# Mini ARC
A `gh` extension to start up a Actions Runner Controller deployment in Minikube via Codespaces.
Built for those that need or want to deploy Actions Runner Controller as fast as possible for testing or experimental purposes.
This extension will:
- Create you a new repository.
- Create a new Codespace.
- Install Actions Runner Controller in Minikube on said Codespace.
- Create a flexible number of runner scale set deployments based on input options.
- Each runner scale set is installed to the new repository.
## Prerequisites
- Ensure you have the [GitHub CLI](https://github.com/cli/cli) installed.
- Ensure your GitHub CLI token has the `repo`, `workflow`, and `codespace` scopes (run `gh auth status` to check).
- If not, add the scopes:
```bash
gh auth refresh --scopes repo,workflow,codespace
```
- Install the extension:
```bash
gh extension install bagtoad/gh-mini-arc
```
## Usage
Create a new repository with an Actions Runner Controller deployment in a Codespace.
```bash
gh mini-arc
```
Create a new repository with an Actions Runner Controller deployment in a Codespace with 5 runner scale sets of different names.
```bash
gh mini-arc -s "scale-set-1" -s "scale-set-2" -s "scale-set-3" -s "scale-set-4" -s "scale-set-5"
```