ci: target fast runner for image builds
This commit is contained in:
1 parent
ddbaf0890c
commit
8d805478bc
3 files changed
+4
-2
No files matched your search
@@ -13,6 +13,8 @@ variables:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
tags:
|
||||||
|
- fast
|
||||||
image: docker:29.6.1-cli
|
image: docker:29.6.1-cli
|
||||||
services:
|
services:
|
||||||
- name: docker:29.6.1-dind
|
- name: docker:29.6.1-dind
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
- Keep the calculation domain independent from HTTP, VK, and Kubernetes.
|
- 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.
|
- 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).
|
- 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
|
## Validation
|
||||||
- For CI-only changes, prefer a targeted YAML parse and a diff review.
|
- For CI-only changes, prefer a targeted YAML parse and a diff review.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
## Runtime / Deployment
|
## Runtime / Deployment
|
||||||
- GitLab CI runs the build job.
|
- 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 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`.
|
- 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.
|
- 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.
|
||||||
|
|||||||
Reference in new issue
Block a user