feat: harden CASAN production install lifecycle

This commit is contained in:
thanhnv
2026-07-24 11:11:44 +07:00
parent c7671ab198
commit 114340c719
48 changed files with 1036 additions and 165 deletions
+13
View File
@@ -37,6 +37,19 @@ for path in "${required[@]}"; do
}
done
for path in \
packages/casan-harness/tests \
packages/casan-harness/level5 \
packages/casan-harness/scripts/bash/ci-harness-gate.sh \
packages/casan-harness/scripts/bash/security-gate.sh \
packages/casan-harness/scripts/bash/test-integrity.py \
packages/casan-devkit/tests; do
[[ ! -e "$ROOT/$path" ]] || {
echo "ARTIFACT_SMOKE_FAIL reason=source_only_path_present path=$path" >&2
exit 1
}
done
(cd "$ROOT" && shasum -a 256 -c SHA256SUMS >/dev/null)
VERSION="$(tr -d '[:space:]' < "$ROOT/VERSION")"
CLI_VERSION="$(cd "$ROOT" && ./bin/casan version)"