Files
unkin-agent 27459cb246 Route iuclabs runner uv python downloads through artifactapi (#619)
IUCLabs runners only reach artifactapi, so `uv python install` fails fetching python-build-standalone from GitHub. The artifactapi `github` remote now allows those release assets.

- set `UV_PYTHON_INSTALL_MIRROR` to the artifactapi `github` remote python-build-standalone releases path

Reviewed-on: #619
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-11-28 15:58:06 +11:00

35 lines
1.3 KiB
YAML

---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
resources:
- networkpolicy.yaml
generatorOptions:
disableNameSuffixHash: true
configMapGenerator:
- name: runner-artifactapi
namespace: iuclabs-runners
literals:
- PIP_INDEX_URL=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/pypi/simple
- UV_DEFAULT_INDEX=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/pypi/simple
- UV_PYTHON_INSTALL_MIRROR=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/astral-sh/python-build-standalone/releases/download
- GOPROXY=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/virtual/go,direct
- npm_config_registry=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/npmjs/
- YARN_NPM_REGISTRY_SERVER=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/npmjs
- COREPACK_NPM_REGISTRY=https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/npmjs
- SSL_CERT_FILE=/etc/ssl/combined/ca-certificates.crt
- REQUESTS_CA_BUNDLE=/etc/ssl/combined/ca-certificates.crt
patches:
- path: init-containers-list.yaml
target:
group: actions.github.com
kind: AutoscalingRunnerSet
name: iuclabs-(k8s|infra|release)
- path: scaleset-patch.yaml
target:
group: actions.github.com
kind: AutoscalingRunnerSet