fix: add auth header to wget for private pal-e-platform repo #89
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/pal-e-docs-app!89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "226-fix-wget-auth"
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-tagCI step downloadsupdate-kustomize-tag.shfrom pal-e-platform via wget, but gets a 404 because the repo is private. This adds theAuthorization: tokenheader using the existingFORGEJO_TOKENsecret.Changes
.woodpecker.yaml: added--header="Authorization: token ${FORGEJO_TOKEN}"to the wget command in theupdate-kustomize-tagstepTest Plan
update-kustomize-tagstep succeeds in the next Woodpecker pipeline run (wget returns 200, script executes)Review Checklist
Related Notes
pal-e-app-- the project this work belongs toView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.