feat: build keycloak image with an optimised build and pinned base #3
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-keycloak!3
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/keycloak-image"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Builds our own Keycloak image, so production pulls nothing from
quay.io.What
Containerfile:quay.io/keycloak/keycloak:26.8.0, pinned by tag and digest.kc.sh buildwith PostgreSQL, health, metrics and local caches. The runtime image starts withstart --optimized. Theme JARs go into/opt/keycloak/providers/before the build (#2).scripts/smoke-test.sh: starts the image against PostgreSQL in a pod and waits for/health/readyon port 9000.ci.yml: gitleaks, build, smoke test on every pull request and onmain.release.yml: a tagv26.8.0-<n>pushesgit.bitborg.se/bitborg/bitborg-keycloak:26.8.0-<n>and:sha-<short>, then cuts a release. It fails if the tag does not match the base image. The smoke test runs before the push.renovate.json: no automerge. Patches open a PR. A Keycloak minor waits for dashboard approval.Verified
/health/readyreturnsUP(database, initialised, cluster checks).v26.8.0-1passes,v26.8.1-1andv26.8.0fail.renovate-config-validatorpasses.shellcheckis clean.Not verified
cirunner can pull fromquay.ioand publish port 9000 inside a pod. This PR's CI run is the check.Closes #1