Scale Woodpecker agent replicas to 2 and enable auto-cancel for superseded pipelines #404
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
ldraney/pal-e-platform#404
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?
Type
Feature
Lineage
Cross-repo from ldraney/landscaping-assistant#62
Repo
ldraney/pal-e-platform(Terraform CI module)User Story
As a developer I want CI pipelines to run without queuing behind stale builds so that prod deploys are not blocked by already-merged branch pipelines.
Context
Woodpecker agent is configured with
replicaCount = 1. Every merge triggers 2-3 pipelines (branch push, PR event, main push) that all compete for a single agent. Two fixes needed: scale agent replicas to 2 and enable auto-cancel for superseded pipelines.File Targets
terraform/modules/ci/main.tf— bump agent replicaCount from 1 to 2, add WOODPECKER_PIPELINE_CANCEL_PREVIOUS server env varterraform/modules/ci/variables.tf— add variable for agent replica countAcceptance Criteria
tofu planoutput reviewed before applyTest Expectations
tofu planshows replicaCount change from 1 to 2tofu planshows new WOODPECKER_PIPELINE_CANCEL_PREVIOUS env varConstraints
tofu plan/tofu apply(Lucas approval)Checklist
Related