feat(guosmm): deploy gazette notices across API, portal, and office configs
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
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>
This commit is contained in:
@@ -189,6 +189,7 @@ if [[ -n "${DATABASE_URL:-}" ]] && [[ "${SEED_SUPER_ADMIN_USERS:-1}" == "1" ]];
|
||||
fi
|
||||
|
||||
log "OMNL Bank deploy complete"
|
||||
bash "$REPO_DIR/scripts/deployment/sync-guosmm-notices.sh" || log "WARN: GUOSMM sync check failed"
|
||||
log " Central Bank: http://127.0.0.1:$FRONTEND_PORT/central-bank"
|
||||
log " Office 24: http://127.0.0.1:$FRONTEND_PORT/office-24"
|
||||
log " DBIS Trade: http://127.0.0.1:$FRONTEND_PORT/trade"
|
||||
|
||||
36
scripts/deployment/sync-guosmm-notices.sh
Normal file
36
scripts/deployment/sync-guosmm-notices.sh
Normal file
@@ -0,0 +1,36 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user