Phase 13.5: verify-runner-remediation-image session-binding hotfix (load_remediation_source_state)
This commit is contained in:
parent
ce58a067ee
commit
75b594f225
1 changed files with 4 additions and 0 deletions
|
|
@ -1676,6 +1676,10 @@ verify_runner_remediation_image() {
|
||||||
req_ok; expect_zero "$@"
|
req_ok; expect_zero "$@"
|
||||||
echo "=== VERIFY-RUNNER-REMEDIATION-IMAGE (Candidate vs Host-SoT / Recovery-Gold) ==="
|
echo "=== VERIFY-RUNNER-REMEDIATION-IMAGE (Candidate vs Host-SoT / Recovery-Gold) ==="
|
||||||
remediation_session || die "verify: keine gueltige Build-Session mit FULL_IMAGE_ID (zuerst build-runner-remediation) (FAIL CLOSED)"
|
remediation_session || die "verify: keine gueltige Build-Session mit FULL_IMAGE_ID (zuerst build-runner-remediation) (FAIL CLOSED)"
|
||||||
|
# (RAIN Hotfix) Source-State-Variablen (REMEDIATION_SESSION_ID u.a.) deterministisch aus
|
||||||
|
# autorisiertem Recovery-Source-State initialisieren, bevor sie unten verwendet werden.
|
||||||
|
# Ohne diesen Aufruf ist REMEDIATION_SESSION_ID unter set -u unbound -> Exit 1.
|
||||||
|
load_remediation_source_state
|
||||||
local imgid; imgid="$(remediation_full_image_id)"
|
local imgid; imgid="$(remediation_full_image_id)"
|
||||||
echo " REMEDIATION_FULL_IMAGE_ID=$imgid (aus Session, NICHT nur Tag)"
|
echo " REMEDIATION_FULL_IMAGE_ID=$imgid (aus Session, NICHT nur Tag)"
|
||||||
docker image inspect "$imgid" >/dev/null 2>&1 || die "verify: Image-ID nicht inspectable (FAIL CLOSED)"
|
docker image inspect "$imgid" >/dev/null 2>&1 || die "verify: Image-ID nicht inspectable (FAIL CLOSED)"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue