- JavaScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| .pre-commit-config.yaml | ||
| action.yml | ||
| create-vm.js | ||
| delete-vm.js | ||
| lib.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
provision-ephemeral-runner-pve
Description
Create and delete ephemeral Forgejo runners backed by Proxmox VE virtual machines
Inputs
| name | description | required | default |
|---|---|---|---|
action |
Action to perform: 'create' to create a VM and register a runner, 'delete' to remove a VM |
true |
"" |
pve_url |
Base URL of the Proxmox VE API, e.g. https://pve.example.com:8006 |
true |
"" |
pve_node |
Name of the Proxmox VE node where the VM is created or deleted |
true |
"" |
pve_token_id |
Proxmox VE API token ID in the format user@realm!tokenname |
true |
"" |
pve_token_secret |
Proxmox VE API token secret |
true |
"" |
label |
Runner label (required for action=create) |
false |
"" |
pve_template_vmid |
VMID of the Proxmox VE template to clone the VM from (required for action=create) |
false |
"" |
forgejo_token |
Forgejo token used to register the ephemeral runner in the repository (required for action=create) |
false |
"" |
pve_vmid |
VMID of the virtual machine to delete (required for action=delete) |
false |
"" |
Outputs
| name | description |
|---|---|
vmid |
VMID of the created virtual machine (set by action=create) |
label |
Runner label used for the created runner (set by action=create) |
Hacking
- Update the README from the action file with https://github.com/npalm/action-docs
action-docs --update-readme -n