1.0 KiB
1.0 KiB
Release Traceability Contract
This repository now treats IMAGE as the single runtime source of truth for
release identity.
Runtime contract
IMAGEmust contain the full image reference used to start the container./api/pingreturnsimage,tag,commit, andversion.tag,commit, andversionare derived fromIMAGE.- If
IMAGEis missing or malformed, the derived fields stay empty instead of being fabricated.
Pipeline contract
- Build must produce
service_image_refonly from the fullGITHUB_SHA. - Deploy must consume
service_image_refand pass it through as the runtime image identity. - Validate must derive
tagandcommitfromservice_image_refand compare them against/api/ping.
External playbook alignment
The external playbooks/deploy_billing_service.yml playbook should accept
IMAGE_REF (or an equivalent full image reference variable), derive any
repo/tag helpers from it, and inject IMAGE=<full image ref> into the running
container environment.