build.sh: KEEP comment states what is actually retained (previous releases besides current)

This commit is contained in:
2026-09-07 05:52:20 +02:00
parent ab9e4857a4
commit d0611ab953
+1 -1
View File
@@ -26,7 +26,7 @@ BUILD_IMAGE="${BUILD_IMAGE:-localhost/ctao-portal-build:1}"
BUILD_NETNS="${BUILD_NETNS:-container:ctao-demo-gitea}"
CODE_URL="${CODE_URL:-http://localhost:3000/$CODE_REPO.git}"
CONTENT_URL="${CONTENT_URL:-http://localhost:3000/$CONTENT_REPO.git}"
KEEP="${KEEP:-3}" # released builds to retain
KEEP="${KEEP:-3}" # previous releases kept besides `current` (rollback targets)
mkdir -p "$BASE/repo" "$BASE/content" "$BASE/releases" "$BASE/state" "$BASE/npm-cache"
# Host prerequisites (everything else runs inside containers). Fail loud —