diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3939c6a..f3637f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,8 @@ variables: build: stage: build + tags: + - fast image: docker:29.6.1-cli services: - name: docker:29.6.1-dind diff --git a/AGENTS.md b/AGENTS.md index 86dd4c0..42c2880 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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). -- The production build uses a privileged Docker executor with an explicit `docker:29.6.1-dind` service alias and TCP endpoint. +- 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. ## Validation - For CI-only changes, prefer a targeted YAML parse and a diff review. diff --git a/structure_and_data.md b/structure_and_data.md index c753871..5f4b2c3 100644 --- a/structure_and_data.md +++ b/structure_and_data.md @@ -15,7 +15,7 @@ ## Runtime / Deployment - GitLab CI runs the build job. -- The job builds through a privileged `docker:29.6.1-dind` service at `DOCKER_HOST=tcp://docker:2375`, with an explicit `alias: docker` and `DOCKER_TLS_CERTDIR=""`. +- The job targets GitLab runner tag `fast` and builds through a privileged `docker:29.6.1-dind` service at `DOCKER_HOST=tcp://docker:2375`, with an explicit `alias: docker` and `DOCKER_TLS_CERTDIR=""`. - The job waits for the DinD daemon and runs `docker info` before starting the build. - The local image is currently `belki-calculator:test`; the CI target is now `$DOCKER_REGISTRY/belki:latest`. - Local validation was performed with `python3 -m unittest discover -s tests -v` (28 tests), `compileall`, JavaScript syntax check, a local browser/API smoke test, and container health/API smoke.