ci(actions): plan on PR / apply on merge — Forgejo Actions + static .101 S3 remote state #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci-first-plan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Brings the homelab workflow in from the README runbook:
.forgejo/workflows/tofu.yml— on PR:tofu plan -no-color(read-only, shows drift)tofu apply -auto-approve(S3 remote state @ SeaweedFS static192.168.8.101:9000)AWS_*+PM_API_TOKEN_*), never from gitFirst Forgejo Actions run for the environment; validates provider + static-IP backend end-to-end.
The legacy proxmox_virtual_environment_vm resource allows only one cdrom block (MaxItems=1), and q35 exposes only ide0/ide2, so the virtio-win driver ISO cannot be declared as a second CD-ROM in OpenTofu. - remove iso_secondary input and the second dynamic cdrom block - keep the Windows installer ISO as the single declarative cdrom - document attaching virtio-win with: qm set 102 -ide0 HDD01:iso/virtio-win.iso,media=cdrom before first boot, and detaching it after install - note that the ISO is already on the host at /mnt/storage/isos/template/iso/virtio-win.iso (HDD01:iso/virtio-win.iso)Windows 11 Pro and the virtio-win drivers are installed on VM 102, so the installer CD is no longer needed. - remove iso from the windows11 map entry and boot from scsi0 only - set started = true now that the disk is bootable - record the installed state in sections 7 and 17 - document the leftover empty ide3 cdrom that blocks VM start after the installer ISO is removed, and the one-off fix: qm set 102 -delete ide3View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.