Phase 6.4: Apply-on-merge pipeline — auto tofu apply on push to main #49
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Lineage
plan-pal-e-platform→ Phase 6 (CI Hardening) → Phase 6.4Repo
forgejo_admin/pal-e-platformUser Story
As a platform operator
I want infrastructure changes to auto-apply when PRs merge to main
So that the laptop is no longer a SPOF and merge = deploy
Context
Phase 6.3 (Issue #48) adds the
planstep to the CI pipeline. Phase 6.4 adds theapplystep that runs on push-to-main events. This eliminates the state lock contention between sessions and makes deployment fully automated.All Woodpecker secrets are already configured from Phase 6.3.
File Targets
Files the agent should modify:
.woodpecker.yaml— addapplystep on push-to-main eventsFiles the agent should NOT touch:
terraform/*.tf— no Terraform changesMakefile— no changesAcceptance Criteria
tofu apply -auto-approveTest Expectations
Constraints
when: event: push; branch: mainfilterChecklist
Related
phase-pal-e-platform-ci-6-4-apply-on-merge— phase noteplan-pal-e-platform— parent plan