fix: add CI_NETRC_MACHINE override for internal Forgejo clone #128
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
forgejo_admin/pal-e-platform!128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "121-fix-clone-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 custom clone step uses
forgejo-http.forgejo.svc.cluster.localbut the default netrc entry is for the external Tailscale hostname. Git auth fails because the netrc machine doesn't match the remote hostname.Adds
CI_NETRC_MACHINEoverride so the plugin-git's auto-generated.netrcmatches the internal clone URL.Changes
.woodpecker.yaml— addedCI_NETRC_MACHINE: forgejo-http.forgejo.svc.cluster.localto clone step environmentReview Checklist
Test Plan
Related
plan-pal-e-platform