This commit is contained in:
DealSage template sync
2026-09-26 05:57:32 +00:00
parent 36aeaf65c3
commit f176fca2bd
15 changed files with 472 additions and 46 deletions
+4 -1
View File
@@ -7,6 +7,7 @@
# fails fast, before install. The schema of record is ../manifest.schema.json.
set -euo pipefail
. "$(dirname "$0")/lib.sh"
step_start manifest
MANIFEST_PATH="${MANIFEST_PATH:-.dealsage/app.json}"
[ -f "$MANIFEST_PATH" ] || die "Manifest not found at $MANIFEST_PATH"
@@ -45,5 +46,7 @@ manifest="$(jq -c . "$MANIFEST_PATH")"
persist_env APP_ID "$app_id"
persist_env MANIFEST_JSON "$manifest"
persist_env CHECKS_JSON "$checks"
log "Manifest: app $app_id, $(jq 'length' <<<"$checks") check(s)"
count="$(jq 'length' <<<"$checks")"
log "Manifest: app $app_id, $count check(s)"
jq -r '.[] | " - \(.id) (\(if .required then "required" else "advisory" end)): \(.run // ("platform:" + .uses))"' <<<"$checks"
step_done manifest passed "$count $([ "$count" = 1 ] && echo check || echo checks) declared"