fix(keycloak): skip the missing-image assert in check mode #643

Sammanfogat
supernaut sammanfogade 1 incheckning från fix/keycloak-check-mode-assert in i main 2026-10-10 17:20:08 +00:00
Ägare

What

Skip the missing-image assert and the "not yet published" note in check mode.

Under --check, podman_image only simulates the pull. The podman image exists probe runs for real, so a new tag always looked absent. On a host that already runs Keycloak, the assert from #641 then failed every dry run, and apply-reconcile.sh refused to apply.

The real apply still asserts after the real pull.

Verification

On staging, --tags keycloak, image 26.8.0-3:

  • Before: the dry run failed on the assert.
  • After: apply-reconcile.sh reconciled clean. A second --check reports changed=0.
  • The container runs bitborg-keycloak:26.8.0-3 and is healthy. The realm's .well-known/openid-configuration returns 200.

Refs #613

## What Skip the missing-image assert and the "not yet published" note in check mode. Under `--check`, `podman_image` only simulates the pull. The `podman image exists` probe runs for real, so a new tag always looked absent. On a host that already runs Keycloak, the assert from #641 then failed every dry run, and `apply-reconcile.sh` refused to apply. The real apply still asserts after the real pull. ## Verification On staging, `--tags keycloak`, image `26.8.0-3`: - Before: the dry run failed on the assert. - After: `apply-reconcile.sh` reconciled clean. A second `--check` reports `changed=0`. - The container runs `bitborg-keycloak:26.8.0-3` and is healthy. The realm's `.well-known/openid-configuration` returns 200. Refs #613
supernaut lade till 1 incheckning 2026-10-10 17:17:39 +00:00
fix(keycloak): skip the missing-image assert in check mode
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m57s
f87f5412e7
Check mode only simulates the pull, so a new image tag always looked
absent and the dry run failed on any host already running Keycloak.
The real apply still asserts after the real pull.

Refs #613
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-10 17:18:05 +00:00
supernaut sammanfogade incheckning df47d287f4 till main 2026-10-10 17:20:08 +00:00
supernaut tog bort grenen fix/keycloak-check-mode-assert 2026-10-10 17:20:08 +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-infra!643
Ingen beskrivning angiven.