| .vscode | ||
| cmd | ||
| docs | ||
| internal | ||
| MaidnCLI@cc8fab6832 | ||
| go.mod | ||
| go.sum | ||
| How2Auth.md | ||
| main.go | ||
| README.md | ||
Commands
go mod init github.com/Pingu-Studio/MaidnCLI go get -u github.com/spf13/cobra@latest go get golang.org/x/term go mod tidy go get gopkg.in/yaml.v3
in powershell run
go install github.com/go-delve/delve/cmd/dlv@latest
dlv version
Commands
cicd-tool repo init --org <org> --flux-repo <repo>creates the manifests and Flux reposcicd-tool bootstrapruns a shorter Forgejo-first wizard, asks for a Forgejo PAT, asks where local repos should be cloned, discovers Proxmox nodes/storage/networks, retries without losing entered answers when discovery fails, shows the latest Talos version, derives the standardized Talos factory URL, schematic, and required extensions automatically from the chosen version, writesterraform.tfvars, stages Talos images on Proxmox, and can execute Terraform, Talos bootstrap, and Flux bootstrapcicd-tool bootstrap --config maidn-bootstrap.yamlskips the wizard and uses the saved config
Forgejo setup
For https://git.pingu.pw you need:
- a user token with repo create/push rights
- an owner target (
Maidnorg by default, or your own user/org) - git/ssh access from the machine running the CLI if you want SSH later
- Flux bootstrap credentials for the repo URL that gets created
root@pam!maidn-test-key 2ce7bff1-ac98-4a45-8db4-186d49ae4159