Some checks failed
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
CI/CD Pipeline / Solidity Contracts (push) Has been cancelled
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 45s
Verify Deployment / Verify Deployment (push) Failing after 58s
Register GUOSMM-B-2026-001 and C-2026-003/004/005 in SSOT, expose via /api/v1/omnl/gazette/notices, hub and central-bank UI, offices 29-31, compliance console, and production deploy sync script. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
#!/usr/bin/env bash
|
|
# Verify GUOSMM gazette notices are live and propagate config to banking stack.
|
|
set -euo pipefail
|
|
|
|
REPO_DIR="${OMNL_BANK_ROOT:-$HOME/smom-dbis-138}"
|
|
REGISTRY="${REPO_DIR}/config/guosmm-notices.v1.json"
|
|
log() { echo "[$(date -Iseconds)] guosmm-sync $*"; }
|
|
|
|
[[ -f "$REGISTRY" ]] || { log "Missing $REGISTRY"; exit 1; }
|
|
|
|
log "Verifying gazette URLs..."
|
|
while IFS= read -r url; do
|
|
[[ -n "$url" ]] || continue
|
|
code="$(curl -sS -o /dev/null -w '%{http_code}' "$url")"
|
|
log " $url -> HTTP $code"
|
|
[[ "$code" == "200" ]] || exit 1
|
|
done < <(node -e "
|
|
const r=require('${REGISTRY//\\/\\\\}');
|
|
for (const n of r.notices) console.log(n.url);
|
|
")
|
|
|
|
log "API catalog probe (local token-aggregation)..."
|
|
curl -sf "http://127.0.0.1:3000/api/v1/omnl/gazette/notices" | head -c 200 || log "WARN: local API not up — redeploy first"
|
|
echo
|
|
|
|
if [[ "${GUOSMM_SYNC_LXCS:-0}" == "1" ]]; then
|
|
PROXMOX_ROOT="${PROXMOX_ROOT:-/srv/projects/proxmox}"
|
|
if [[ -f "${PROXMOX_ROOT}/scripts/deployment/sync-zardasht-omnl-banking-portal-lxcs.sh" ]]; then
|
|
log "LXC sync..."
|
|
bash "${PROXMOX_ROOT}/scripts/deployment/sync-zardasht-omnl-banking-portal-lxcs.sh" --apply
|
|
fi
|
|
fi
|
|
|
|
log "GUOSMM notices deployed to config + API registry"
|
|
log " Portal: /central-bank and /hub (gazette section)"
|
|
log " API: GET /api/v1/omnl/gazette/notices"
|