fix(ci): release-build keeps no container logs when its smoke fails
What
release-build (.gitlab-ci.yml) starts a stack with xtask dev start --release and runs the k6 smoke and the public-API security phase against it. Unlike every other stack job (car, pentest, perf-load, perf-stress), it keeps no container logs: it does not extend .stack-teardown, and its after_script only runs xtask dev clean. If the smoke fails on the release images, nothing shows why.
Found while planning "Measure the release images" (#3166 (closed)). Out of that plan's scope.
Why it matters
ADR-086 rules out retries, so a failure has to be diagnosed from its one job. The release smoke is the only run of the shipped images before they are pushed.
Acceptance criteria
- A failed
release-builduploads its containers' logs (xtask dev logs --to test-results/container-logs --skip-on-success, beforedev clean), developer-only. The SBOM artifact stays public, asreleaselinks it. -
pipeline_tests.rsholdsrelease-buildto the log-capture contract the other stack jobs meet, or names why its artifact rules differ. -
deployment-guide.adoc§ Release images says where the logs land.