my-homelab-configs/apps/gitea-runner/README.md

27 lines
1.5 KiB
Markdown

# Optional Kubernetes Gitea runner
The default deployment has zero replicas across all profiles. The active CI
runner is the Debian-host `homelab-gitea-runner.service`; native K3s and Pimox
workers do not provide a host Docker socket automatically.
The `Homelab Main` workflow uses the Debian runner's `homelab-debian:host`
label for validation and update jobs. These run directly as the runner user,
so Python, PyYAML and Node must already be installed; the workflow does not
install packages or download an architecture-specific Node binary. Optional
validation tools may be skipped by `./jeannie validate` when unavailable.
Main-branch host operations remain automatic where the workflow classifies a
change for Debian operations. Its persistent deploy checkout must be clean and
on `main`, and it is updated only by a fast-forward merge.
Argo CD detects `kustomization.yaml` and renders only namespace, deployment and
PVC resources. The neighboring SOPS files and parent `application.yaml` must
not be applied as raw resources. Encrypted API versions/kinds are ciphertext,
not CRDs that need installing. The apps scheduling preflight rejects SOPS
documents that reach rendered Kubernetes resources before applying the plan.
Keep encrypted credentials outside this resource list. Jeannie's separate
runner-secret path is used when the runner is explicitly enabled; enabling
requires an appropriate Docker-capable node, placement, hostPath permission and
valid credentials. Zero replicas skip secret application and pod readiness,
while preserving the declared storage resource.