fix: use YAML block scalar for wget auth header #134
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/westside-landing!134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "226-fix-yaml-syntax"
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
PR #128 added an
--header="Authorization: token ..."argument to the wget command in the update-kustomize-tag step. The unquoted colon in that string caused YAML to interpret it as a mapping separator, breaking pipeline parsing entirely.Changes
.woodpecker.yaml: Wrapped the multi-line wget command in a>-YAML block scalar so the colon inside the Authorization header is treated as plain string content, not a YAML mapping separator.Test Plan
python3 -c "import yaml; yaml.safe_load(open('.woodpecker.yaml')); print('OK')"passesReview Checklist
Related Notes
forgejo_admin/westside-app #128-- the PR that introduced the broken syntaxwestside-app-- the project this work belongs to