fix: add missing woodpecker_agent_secret to CI pipeline #72
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#72
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 Pipeline & Team Hardening)Repo
forgejo_admin/pal-e-platformUser Story
As the platform operator
I want the CI apply-on-merge step to have all required Terraform variables
So that merges to main actually apply infrastructure changes (merge=deploy contract)
Context
Pipeline #25 (apply-on-merge on main) fails with
Error: No value for required variableforwoodpecker_agent_secret. This variable was added tovariables.tfin PR #68 (persistent WOODPECKER_AGENT_SECRET) but the correspondingTF_VAR_woodpecker_agent_secretenv mapping was never added to.woodpecker.yaml, and no Woodpecker repo secret existed. Every merge to main since PR #68 has a broken apply step. Infrastructure drifts from code.Woodpecker repo secret
tf_var_woodpecker_agent_secrethas already been created.File Targets
Files the agent should modify:
.woodpecker.yaml-- addTF_VAR_woodpecker_agent_secret: from_secret: tf_var_woodpecker_agent_secretto bothplanandapplystep environment blocksFiles the agent should NOT touch:
terraform/-- no Terraform changes neededAcceptance Criteria
.woodpecker.yamlplan step includesTF_VAR_woodpecker_agent_secretenv mapping.woodpecker.yamlapply step includesTF_VAR_woodpecker_agent_secretenv mappingTest Expectations
from_secretmappingConstraints
TF_VAR_name: from_secret: tf_var_nameChecklist
Related
project-pal-e-platform-- platform project