Fix PyPI publish: use internal Forgejo URL for twine upload #16
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-mcp#16
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?
Plan
todo-woodpecker-tls-clone-fix-- same TLS funnel root causeRepo
forgejo_admin/pal-e-docs-mcpUser Story
As a platform operator
I want the twine publish step to upload packages to Forgejo PyPI via the internal k8s service
So that package uploads stop failing with TLS EOF errors through the Tailscale funnel
Context
The Woodpecker pipeline's
publishstep uses twine to upload to a Forgejo PyPI registry. The URL comes from theFORGEJO_PYPI_URLenvironment variable (sourced from a Woodpecker secret). This URL points to the external Tailscale funnel which causes TLS EOF from inside the cluster.The fix: change the
publishstep to use the internal Forgejo URL directly in the commands instead of relying on the secret, OR override the environment variable in the YAML to usehttp://forgejo-http.forgejo.svc.cluster.local.Pipeline #21 shows: clone SUCCESS, lint SUCCESS, publish FAILURE.
File Targets
Files the agent should modify:
.woodpecker.yml-- change theFORGEJO_PYPI_URLenvironment source fromfrom_secretto a hardcoded internal URL:http://forgejo-http.forgejo.svc.cluster.local/api/packages/forgejo_admin/pypiFiles the agent should NOT touch:
Acceptance Criteria
publishstep uses the internal Forgejo URL for PyPI uploadsTest Expectations
python3 -c "import yaml; yaml.safe_load(open('.woodpecker.yml'))"Constraints
Checklist
Related
todo-woodpecker-tls-clone-fix-- root cause documentationproject-pal-e-platform-- platform stability