fix(ci): run the smoke test without a pod, set the cache at runtime #4

Sammanfogat
supernaut sammanfogade 2 incheckningar från fix/smoke-test-no-pod in i main 2026-10-08 19:02:32 +00:00
Ägare

CI on #3 failed after the image built: the ci runner has no catatonit, so podman pod create cannot build its pause image.

What

  • scripts/smoke-test.sh: no pod. Keycloak joins the Postgres container's network namespace (--network container:), which publishes port 9000.
  • Containerfile: KC_CACHE=local moves to the runtime stage. In 26.8 the cache is a runtime option and kc.sh build ignored it.
  • README follows.

Verified

  • Local build and smoke test: /health/ready returns UP, no containers left behind.
  • KC_CACHE=local is set in the runtime image.
  • From the #3 CI log: the runner pulls from quay.io and kc.sh build succeeds.

Refs #1

CI on #3 failed after the image built: the `ci` runner has no `catatonit`, so `podman pod create` cannot build its pause image. ## What - `scripts/smoke-test.sh`: no pod. Keycloak joins the Postgres container's network namespace (`--network container:`), which publishes port 9000. - `Containerfile`: `KC_CACHE=local` moves to the runtime stage. In 26.8 the cache is a runtime option and `kc.sh build` ignored it. - README follows. ## Verified - Local build and smoke test: `/health/ready` returns `UP`, no containers left behind. - `KC_CACHE=local` is set in the runtime image. - From the #3 CI log: the runner pulls from `quay.io` and `kc.sh build` succeeds. Refs #1
supernaut lade till 2 incheckningar 2026-10-08 19:00:36 +00:00
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-08 19:01:58 +00:00
supernaut sammanfogade incheckning 0c49dcc74b till main 2026-10-08 19:02:32 +00:00
supernaut tog bort grenen fix/smoke-test-no-pod 2026-10-08 19:02:32 +00:00
Logga in för att delta i denna konversation.
Inga granskare
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-keycloak!4
Ingen beskrivning angiven.