ci: pull the test database image from our registry mirror #104

Stängd
öppnade 2026-10-06 19:49:15 +00:00 av supernaut · 0 kommentarer
Ägare

Problem

The CI database step pulls docker.io/library/postgres:17 from Docker Hub (.forgejo/workflows/ci.yml:79). When Docker Hub is unreachable from the runners, the job fails after build and tests have passed. Seen on 2026-10-06: dial tcp 52.86.134.208:443: i/o timeout, three retries, then exit 125.

Fix

Pull the image from our own registry mirror instead: git.bitborg.se/bitborg/postgres:17.11-trixie. The registry-mirror role in bitborg-infra already mirrors it, and it pulls anonymously. That is also the exact Postgres version production runs, rather than a moving 17 tag.

Keep the pin in step with production: when bitborg-infra bumps postgres_image_tag, bump this line too (or add a Renovate annotation that matches the mirror path).

Done when

  • CI pulls only from git.bitborg.se for the database step.
  • One green run on main.
## Problem The CI database step pulls `docker.io/library/postgres:17` from Docker Hub (`.forgejo/workflows/ci.yml:79`). When Docker Hub is unreachable from the runners, the job fails after build and tests have passed. Seen on 2026-10-06: `dial tcp 52.86.134.208:443: i/o timeout`, three retries, then exit 125. ## Fix Pull the image from our own registry mirror instead: `git.bitborg.se/bitborg/postgres:17.11-trixie`. The registry-mirror role in bitborg-infra already mirrors it, and it pulls anonymously. That is also the exact Postgres version production runs, rather than a moving `17` tag. Keep the pin in step with production: when bitborg-infra bumps `postgres_image_tag`, bump this line too (or add a Renovate annotation that matches the mirror path). ## Done when - CI pulls only from `git.bitborg.se` for the database step. - One green run on main.
supernaut lade till detta till projektet Bitborg Payment 2026-10-06 19:49:27 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-payment#104
Ingen beskrivning angiven.