Bootstrap CLI for Maidn
Find a file
2026-07-18 21:45:17 +02:00
.vscode feat: add bootstrap workflow 2026-07-15 20:39:39 +02:00
cmd feat: add bootstrap workflow 2026-07-15 20:39:39 +02:00
docs feat: add bootstrap workflow 2026-07-15 20:39:39 +02:00
internal feat: target forgejo templates 2026-07-18 21:45:17 +02:00
MaidnCLI@cc8fab6832 feat: add bootstrap workflow 2026-07-15 20:39:39 +02:00
go.mod feat: restructure & secret setup 2025-10-26 00:43:31 +02:00
go.sum feat: restructure & secret setup 2025-10-26 00:43:31 +02:00
How2Auth.md feat: add bootstrap workflow 2026-07-15 20:39:39 +02:00
main.go feat: restructure & secret setup 2025-10-26 00:43:31 +02:00
README.md feat: target forgejo templates 2026-07-18 21:45:17 +02:00

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 repos
  • cicd-tool bootstrap runs a shorter Forgejo-first wizard, discovers Proxmox nodes/storage/networks, shows the latest Talos version, writes terraform.tfvars, stages Talos images on Proxmox, and can execute Terraform, Talos bootstrap, and Flux bootstrap
  • cicd-tool bootstrap --config maidn-bootstrap.yaml skips 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 (Maidn org 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