Freeze GitLab: turn off previews and deploys, close open merge requests #498

Closed
opened 2026-10-21 10:07:18 +00:00 by root · 17 comments
root commented 2026-10-21 10:07:18 +00:00 (Migrated from gitlab.core-project.space)

Parent

#489

What to build

GitLab stops deploying, so the switch day does not race it. GitLab's preview and production deploy jobs are removed, and every live preview on the production VPS is torn down by running the reap once with no open merge request kept. Production keeps serving its current image until Forgejo's first green main deploys over it. Every open merge request is merged or closed, so the import carries only closed history. The gate keeps running on GitLab until the switch.

Seam: the switch-day checklist (spec ## Seams).

Acceptance criteria

  • No GitLab job deploys a preview or production; the gate still runs.
  • No preview stack is left on the production VPS; production still answers.
  • No merge request is open on GitLab.
  • The checklist's freeze step is ticked with its check command's output.
## Parent #489 ## What to build GitLab stops deploying, so the switch day does not race it. GitLab's preview and production deploy jobs are removed, and every live preview on the production VPS is torn down by running the reap once with no open merge request kept. Production keeps serving its current image until Forgejo's first green `main` deploys over it. Every open merge request is merged or closed, so the import carries only closed history. The gate keeps running on GitLab until the switch. Seam: the switch-day checklist (spec `## Seams`). ## Acceptance criteria - [ ] No GitLab job deploys a preview or production; the gate still runs. - [ ] No preview stack is left on the production VPS; production still answers. - [ ] No merge request is open on GitLab. - [ ] The checklist's freeze step is ticked with its check command's output.
root commented 2026-10-21 10:07:30 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #499

mentioned in issue #499
root commented 2026-10-21 10:08:20 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #489

marked this issue as related to #489
root commented 2026-10-21 10:08:31 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #490

marked this issue as related to #490
root commented 2026-10-21 10:08:32 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #491

marked this issue as related to #491
root commented 2026-10-21 10:08:34 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #492

marked this issue as related to #492
root commented 2026-10-21 10:08:35 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #493

marked this issue as related to #493
root commented 2026-10-21 10:08:36 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #494

marked this issue as related to #494
root commented 2026-10-21 10:08:37 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #495

marked this issue as related to #495
root commented 2026-10-21 10:08:38 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #496

marked this issue as related to #496
root commented 2026-10-21 10:08:38 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #497

marked this issue as related to #497
root commented 2026-10-21 10:08:39 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #499

marked this issue as related to #499
root commented 2026-10-21 11:07:30 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !568

mentioned in merge request !568
root commented 2026-10-22 09:53:40 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 579e380cbf

mentioned in commit 579e380cbf55d7db11a8a47df50ce5a8c64b3235
root commented 2026-10-22 09:54:32 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !571

mentioned in merge request !571
root commented 2026-10-22 10:02:38 +00:00 (Migrated from gitlab.core-project.space)

Freeze done (infra/forgejo/SWITCH-DAY.md step 1), 2026-10-22.

  • No GitLab job deploys. !571 removed the preview, production and image jobs; the gate (changes, reuse-gate, cancel-merged, checks, front-test, e2e), the audit, Renovate and the production backup still run. The reap now runs by hand only (REAP=1), and its nightly schedule is off:
$ glab schedule list
1	Reap previews of closed merge requests (preview-reap.yml)	17 3 * * *	root	false
2	Production backup	41 2 * * *	root	true
  • No preview left, production untouched. Pipeline 326 (reap, REAP=1 on main):
open merge requests: none
removing chess-pr-70: its PR is not open
ok    stack chess-pr-70 has no containers left
ok    stack chess-pr-70 has no volumes left
ok    stack chess-pr-70 has no networks left
ok    stack chess-pr-70 has no Gateway attachment left
ok    all 0 preview(s) left belong to an open PR
ok    chess-app-1 is running, on registry.core-project.space/amaurycoudr/chess-project@sha256:0ec7aa7d…
ok    chess-db-1 is running, on postgres:18.4-alpine
ok    proxy-traefik-1 is running, on traefik:v3.6
$ ssh deploy@<vps> "docker ps --all --format '{{.Names}}'" | grep -c chess-pr-
0
$ curl -fsS -o /dev/null -w '%{http_code}\n' https://chess.core-project.space/
200
  • No merge request open.
$ glab mr list
No open merge requests available on amaurycoudr/chess-project.

Production keeps serving its current image until Forgejo's first green main deploys over it (#499).

Freeze done (`infra/forgejo/SWITCH-DAY.md` step 1), 2026-10-22. - **No GitLab job deploys.** !571 removed the preview, production and image jobs; the gate (`changes`, `reuse-gate`, `cancel-merged`, `checks`, `front-test`, `e2e`), the audit, Renovate and the production backup still run. The reap now runs by hand only (`REAP=1`), and its nightly schedule is off: ```text $ glab schedule list 1 Reap previews of closed merge requests (preview-reap.yml) 17 3 * * * root false 2 Production backup 41 2 * * * root true ``` - **No preview left, production untouched.** Pipeline 326 (`reap`, `REAP=1` on `main`): ```text open merge requests: none removing chess-pr-70: its PR is not open ok stack chess-pr-70 has no containers left ok stack chess-pr-70 has no volumes left ok stack chess-pr-70 has no networks left ok stack chess-pr-70 has no Gateway attachment left ok all 0 preview(s) left belong to an open PR ok chess-app-1 is running, on registry.core-project.space/amaurycoudr/chess-project@sha256:0ec7aa7d… ok chess-db-1 is running, on postgres:18.4-alpine ok proxy-traefik-1 is running, on traefik:v3.6 ``` ```text $ ssh deploy@<vps> "docker ps --all --format '{{.Names}}'" | grep -c chess-pr- 0 $ curl -fsS -o /dev/null -w '%{http_code}\n' https://chess.core-project.space/ 200 ``` - **No merge request open.** ```text $ glab mr list No open merge requests available on amaurycoudr/chess-project. ``` Production keeps serving its current image until Forgejo's first green `main` deploys over it (#499).
root (Migrated from gitlab.core-project.space) closed this issue 2026-10-22 10:02:41 +00:00
root commented 2026-10-22 10:03:24 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 1cbd915692

mentioned in commit 1cbd915692cc63bd1841eaa2814878774748caa0
root commented 2026-10-22 10:03:27 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !572

mentioned in merge request !572
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
amaurycoudr/chess-project#498
No description provided.