Add Woodpecker gRPC Tailscale funnel for external Mac agent #172
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#172
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
Infra
Lineage
project-capacitor-mobile→ Board item (discovered scope from #166 Mac CI agent)Repo
forgejo_admin/pal-e-platformUser Story
As the Mac Woodpecker agent
I want to connect to the Woodpecker server via gRPC over Tailscale
So that iOS build jobs can be dispatched to the Mac
Context
The Mac agent connects to Woodpecker server via gRPC on port 9000. The existing Tailscale funnel (
woodpecker-funnel) only routes to port 80 (HTTP web UI). The in-cluster Linux agent connects directly towoodpecker-server:9000inside the cluster, so this was never needed before. External agents need a separate funnel for gRPC.Discovered during Mac CI agent setup (#166) — agent starts but gets 502 Bad Gateway because gRPC traffic hits the HTTP-only funnel.
File Targets
Files to modify:
terraform/main.tf— addkubernetes_ingress_v1.woodpecker_grpc_funnelresourceFiles NOT to touch:
woodpecker_funnelresource (HTTP web UI, unchanged)Acceptance Criteria
tofu planshows 1 to add (new ingress), 0 to destroytofu applycreateswoodpecker-grpc.tail5b443a.ts.netwoodpecker.tail5b443a.ts.netunaffectedTest Expectations
tofu validatepassescurl https://woodpecker-grpc.tail5b443a.ts.netreturns something (even an error) proving the hostname resolvestail /tmp/woodpecker-agent.logshows connected stateConstraints
tofu plan -lock=falseper SOPChecklist
tofu planoutput included in PRRelated
project-capacitor-mobile— arch:mac-agent