fix: enforce amd64 container deployment

This commit is contained in:
nyan404 committed 2026-08-25 12:25:28 +03:00
1 parent 6141033d3c
commit 468591c84c
10 files changed
+36 -5

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
- 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).
- The production build uses the GitLab runner tag `fast`, a privileged Docker executor, and an explicit `docker:29.6.1-dind` service alias over TCP.
- Production images and Kubernetes workloads are amd64-only. Preserve `linux/amd64` in Dockerfiles, CI build commands, and workload node selectors; do not reintroduce the arm64-only Python base tag.
- When adding, removing, or updating a runtime dependency, rebuild and push the matching immutable base image to `reg.nyan404.ru`, then update its tag in the final Dockerfile before running CI. `requirements.txt` maps to `Dockerfile.base`; `nginx.conf` maps to `Dockerfile.gateway-base`.
- Use Context7 for current official documentation when implementing or changing an external API, framework, or library integration.
- Before adding or updating any dependency, use `prevent-eol` to check lifecycle support; do not treat its results as a vulnerability assessment.