Files
proxmox/scripts/omnl/run-transaction-package-ci-smoke.sh
defiQUG 95522d3bca
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
feat(omnl): HYBX-BATCH-001 package, rail scripts, regulatory docs, CI
- Add OMNL/CBK Indonesia submission and audit binder docs, manifests, attestations
- Add scripts/omnl transaction-package pipeline, LEI/PvP helpers, jq/lib fixtures
- Update entity master data, MASTER_INDEX, TODOS, dbis-rail docs and rulebook
- Add proof_package/regulatory skeleton and transaction package zip + snapshot JSON
- validate-omnl-rail workflow, forge-verification-proxy tweak, .gitignore hygiene
- Bump smom-dbis-138 (cronos verify docs/scripts) and explorer-monorepo (SPA + env report)

Made-with: Cursor
2026-03-24 18:11:36 -07:00

24 lines
1.0 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
# Fast CI smoke: small ledger (10×100M USD), no Section 2 snapshot, build zip, verify + structural 4.995 check.
# Usage: from repo root. No Fineract required. Unset TSA_URL for deterministic CI unless you intend to hit a TSA.
set -euo pipefail
REPO_ROOT="${REPO_ROOT:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)}"
cd "$REPO_ROOT"
unset TSA_URL 2>/dev/null || true
export ALLOW_MISSING_OMNL_SNAPSHOT=1
export HYBX_LEDGER_FILE="${HYBX_LEDGER_FILE:-${REPO_ROOT}/scripts/omnl/fixtures/hybx_batch_001_ledger_ci.csv}"
export EVIDENCE_GENERATED_AT_UTC="${EVIDENCE_GENERATED_AT_UTC:-2026-03-24T12:00:00Z}"
OUT_ZIP="${OUT_ZIP:-/tmp/tp-ci-$$.zip}"
export OUT_ZIP
UDIR=$(mktemp -d /tmp/tp-ci-unzip-XXXXXX)
cleanup() { rm -rf "$UDIR"; rm -f "$OUT_ZIP"; }
trap cleanup EXIT
bash scripts/omnl/build-transaction-package-zip.sh
unzip -q "$OUT_ZIP" -d "$UDIR"
bash scripts/omnl/check-transaction-package-4995-readiness.sh "$UDIR"
echo "CI smoke OK: built zip, commitment + structural 4.995 checks passed." >&2