fix: update gateway to nginx 1.31.9
This commit is contained in:
1 parent
87a9a5934a
commit
27b3e0aaae
5 files changed
+12
-4
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# Structure and Data
|
||||
|
||||
## Gateway Nginx security update (2026-11-21)
|
||||
|
||||
- The previous registry base contained Nginx 1.31.4. The rebuilt Linux amd64 gateway uses Nginx 1.31.9 on Alpine, the mainline security release from 2026-11-18. `Dockerfile.gateway-base` pins the upstream digest. `Dockerfile.gateway` pins the verified private registry digest so the next CI build picks up the new binary. [NGINX security advisories](https://nginx.org/en/security_advisories.html)
|
||||
- The base was published to the private registry under a new tag. The release image passed `nginx -t` and isolated smoke checks for the homepage, trainer aliases, WebP MIME type, Belki web/API proxy, and the exact VK callback POST route with loopback upstreams. The production rollout is pending.
|
||||
|
||||
## Trainer entrance and variable exit — 2026-11-17
|
||||
|
||||
- Applied the owner correction: entrance always `x1 y1`, exit can vary. `engine.js` sets start index 0 and chooses an exit per field from the other 59 cells. The fixed global exit constant is removed; `view()` exposes transition coordinates and per-cell entrance/exit flags. The generator reserves both transitions and a safe connecting path, preserving hazard formulas and 5/3 initially playable safe cells in the top row excluding transitions.
|
||||
@@ -95,7 +100,7 @@
|
||||
- GitLab CI runs the build job.
|
||||
- Production container architecture is explicitly `linux/amd64`: CI sets `DOCKER_DEFAULT_PLATFORM` and passes `--platform linux/amd64`, Dockerfiles pin the platform, and Kubernetes workloads select nodes labeled `kubernetes.io/arch: amd64`. The former private Python base tag was arm64-only and is no longer used by the application image.
|
||||
- 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=""`.
|
||||
- Runtime dependency layers are prebuilt and stored in the private registry: `reg.nyan404.ru/cwshed-clone/belki-base:py312-d6c42c4497ce` contains Python 3.12, `pip 26.2.1`, and the current `requirements.txt`; `reg.nyan404.ru/cwshed/cwshed-base:nginx-c2431df29ccc` provides Nginx. Adding, removing, or updating a runtime dependency requires rebuilding/pushing and retagging the matching base image before CI. The final gateway image copies both `nginx.conf` and static assets so routing changes ship in an ordinary release.
|
||||
- Runtime dependency layers are stored in the private registry. CI builds the Belki base from `Dockerfile.base`. For Nginx version upgrades, build and publish a new gateway base under `reg.nyan404.ru/cwshed/cwshed-base`, then set its tag and digest in `Dockerfile.gateway` before running CI. The final gateway image copies both `nginx.conf` and static assets so routing changes ship in an ordinary release.
|
||||
- The `ryzen-runner-dind` service on `root@10.3.1.168` has a valid Runner registration and its helper container can reach `https://git.nyan404.ru/`. On 2026-08-21 its malformed `DOCKER_AUTH_CONFIG` was removed and the pre-change configuration was backed up on the host as `/etc/gitlab-runner/config.toml.bak-20260821-1334`.
|
||||
- The job waits for the DinD daemon and runs `docker info` before starting the build.
|
||||
- GitLab Runner retries source checkout up to three times (`GET_SOURCES_ATTEMPTS=3`) to absorb transient connectivity failures before the job script starts. A persistent inability to reach `git.nyan404.ru:443` still requires repair on the selected runner host.
|
||||
|
||||
Reference in new issue
Block a user