fix(ci): use shared runner Docker socket

This commit is contained in:
nyan404 committed 2026-08-16 17:36:13 +03:00
1 parent 810c61c045
commit 916f41cb71
3 files changed
+12 -13

No files matched your search

+2 -3
View File
@@ -8,7 +8,7 @@
- Keep the calculation domain independent from HTTP, VK, and Kubernetes.
- Keep VK tokens and group IDs out of the repository; use environment variables or Kubernetes Secrets.
- Production manifests are already applied in namespace `belki`; CI deploys them from `main` using the namespace-scoped RBAC in [`deploy/k8s/rbac.yaml`](./deploy/k8s/rbac.yaml).
- Prefer `docker:dind` for CI unless the target runner is explicitly pinned and known to expose `/var/run/docker.sock`.
- The production build runner is `codex-k3s-shared` and exposes `/var/run/docker.sock`; use the host Docker socket for image builds.
## Validation
- For CI-only changes, prefer a targeted YAML parse and a diff review.
@@ -17,6 +17,5 @@
- Do not add unnecessary local build artifacts or temporary files to the repository.
## Notes
- `docker:dind` requires a privileged Docker executor and `DOCKER_HOST=tcp://docker:2375` with `DOCKER_TLS_CERTDIR=""`.
- The `dind` daemon can take time to initialize; this repo waits for `docker info` before building.
- The build job checks that `/var/run/docker.sock` is mounted and runs `docker info` before building.
- Never commit `.env` or `.gitlab.variables.env`; the latter contains the GitLab Variable handoff and a namespace-scoped kubeconfig.