Enhancement: Deploy Proxmox infra automatically on merge #51

Merged
claude-bot Bot merged 2 commits from enhancement/auto-deploy-proxmox-infra into main 2026-11-22 19:21:35 +01:00

What changed

  • 01-proxmox-infra now deploys on push to main. Manual dispatch still works.
  • Automatic deploys skip pulumi refresh. Manual runs still refresh.
  • Adds protect to the VM templates, all DHCP mappings and the Ansible container.
  • Sets rebootAfterUpdate: false on the k3s VMs.
  • Removes stopOnDestroy from the k3s VMs.

Why

Merges should no longer need a manual deploy. A refresh that finds a VM missing would drop it from state, and up would then create a blank replacement, so automatic deploys skip it.

Preview (01-proxmox-infra)

3 to create (LXC template download, Ansible DHCP mapping, Ansible container), 6 in-place updates to VM settings (rebootAfterUpdate, stopOnDestroy), 18 unchanged, no replaces or deletes. Typecheck passes.

Deployment

Merging deploys 01-proxmox-infra, including the Ansible container. Because this changes a file under .gitea/workflows/, it also triggers the 03, 04 and 05 deploys.

## What changed - `01-proxmox-infra` now deploys on push to `main`. Manual dispatch still works. - Automatic deploys skip `pulumi refresh`. Manual runs still refresh. - Adds `protect` to the VM templates, all DHCP mappings and the Ansible container. - Sets `rebootAfterUpdate: false` on the k3s VMs. - Removes `stopOnDestroy` from the k3s VMs. ## Why Merges should no longer need a manual deploy. A refresh that finds a VM missing would drop it from state, and `up` would then create a blank replacement, so automatic deploys skip it. ## Preview (`01-proxmox-infra`) 3 to create (LXC template download, Ansible DHCP mapping, Ansible container), 6 in-place updates to VM settings (`rebootAfterUpdate`, `stopOnDestroy`), 18 unchanged, no replaces or deletes. Typecheck passes. ## Deployment Merging deploys `01-proxmox-infra`, including the Ansible container. Because this changes a file under `.gitea/workflows/`, it also triggers the `03`, `04` and `05` deploys.
claude-bot Bot added 2 commits 2026-11-22 18:44:23 +01:00
Prepare the stack for deploying on merge. Protect templates, DHCP mappings
and the Ansible container, and stop in-place updates from rebooting k3s VMs.
enhancement(ci): deploy proxmox-infra on merge to main
Deploy Proxmox Infra / Pulumi Deploy (pull_request) Skipped
Deploy k8s Infra / Pulumi Deploy (pull_request) Skipped
Deploy k8s Apps / Pulumi Deploy (pull_request) Skipped
Deploy Monitoring / Pulumi Deploy (pull_request) Skipped
Deploy Proxmox Infra / Pulumi Preview (pull_request) Successful in 1m1s
Deploy k8s Infra / Pulumi Preview (pull_request) Successful in 54s
Deploy k8s Apps / Pulumi Preview (pull_request) Successful in 34s
Deploy Monitoring / Pulumi Preview (pull_request) Successful in 43s
9b15ea5d33
Skip the refresh on automatic deploys. A refresh that finds a VM missing
drops it from state, and the following up would create a blank replacement.
claude-bot Bot merged commit 339dcdd214 into main 2026-11-22 19:21:35 +01:00
Sign in to join this conversation.