fix: run update-kustomize-tag step even when test step fails #275
No reviewers
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!275
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "274-fix-kustomize-tag-step-skipped"
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?
Summary
The
update-kustomize-tagstep in the canonical Woodpecker template gets skipped when an unrelatedteststep fails, blocking deploys. This addsstatus: [success, failure]to thewhencondition so the deploy step runs regardless of test failures, as long asbuild-and-pushsucceeded.Changes
scripts/woodpecker-update-tag-step.yaml— addedstatus: [success, failure]to thewhenblock of theupdate-kustomize-tagstep. This follows the same pattern asfailure: ignoreat line 332 of this repo's own.woodpecker.yaml.Test Plan
python3 -c "import yaml; yaml.safe_load(open('scripts/woodpecker-update-tag-step.yaml'))"update-kustomize-tagnow executes afterbuild-and-pushsucceedsReview Checklist
Related Notes
forgejo_admin/pal-e-platform #274— the Forgejo issue this PR implementspal-e-platform— the project this work belongs toCloses forgejo_admin/pal-e-platform#274