Files
proxmox/scripts/verify/validate-vm-routing-parity.sh
defiQUG 377369a5be
Some checks failed
Deploy to Phoenix / deploy (push) Has been skipped
Deploy to Phoenix / deploy-atomic-swap-dapp (push) Has been skipped
Deploy to Phoenix / cloudflare (push) Has been skipped
Deploy to Phoenix / validate (push) Failing after 2s
feat(gitea-phoenix): gov runtime, deploy/template parity, workflow dedupe docs
- Add gov-portals-runtime.v1.json + schema; jq gate in validate-config-files
- Python: parity-deploy-targets, parity-operational-template (IP strict, hostname WARN),
  parity-gov-portals-runtime; validate-vm-routing-parity.sh wrapper
- check-gov-portal-workflow-canonical-strings.sh for monorepo Pattern A
- PORTAL_WORKFLOW_PARITY.md; template headers; repos README; operator checklist secrets
- report-gitea-cd-parity runs full VM routing parity; task doc marked complete
- GOV_PORTALS_XOM_DEV + GITEA_GOV + MASTER_INDEX + matrix doc cross-links

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 15:55:50 -07:00

19 lines
995 B
Bash
Executable File

#!/usr/bin/env bash
# Matrix ↔ deploy-targets ↔ operational template ↔ gov-portals runtime (optional).
set -euo pipefail
R="${1:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)}"
PY="$R/scripts/lib/non_blockchain_vm_routing_matrix.py"
INV="${NON_BLOCKCHAIN_MATRIX_INVENTORY:-$R/reports/status/live_inventory.json}"
EXC="$R/config/gitea-phoenix/besu-vmid-exclusions.v1.json"
MTX="$R/config/gitea-phoenix/non-blockchain-vm-routing-matrix.v1.json"
TPL="$R/config/proxmox-operational-template.json"
RUN="$R/config/gitea-phoenix/gov-portals-runtime.v1.json"
python3 "$PY" validate --inventory "$INV" --exclusions "$EXC" --matrix "$MTX"
python3 "$PY" parity-deploy-targets --repo-root "$R" --matrix "$MTX"
python3 "$PY" parity-operational-template --matrix "$MTX" --template "$TPL"
if [[ -f "$RUN" ]]; then
python3 "$PY" parity-gov-portals-runtime --matrix "$MTX" --runtime "$RUN"
fi
echo "[OK] validate-vm-routing-parity: inventory + deploy-targets + operational template + gov runtime"