interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / scripts / pipeline-proofs / run-all.sh

19 lines · 831 bytes Raw Blame History
1#!/usr/bin/env bash
2# Run every proof (00 and 13-23) against each repository given, append the PROOF lines to RESULTS_LOG.
3# Usage: run-all.sh <repo-path> [<repo-path>...] Env: RESULTS_LOG (default /tmp/pipeline-proofs.log)
4set -u
5here="$(cd "$(dirname "$0")" && pwd)"
6export RESULTS_LOG=${RESULTS_LOG:-/tmp/pipeline-proofs.log}
7[ $# -ge 1 ] || { echo "usage: run-all.sh <repo-path> [<repo-path>...]" >&2; exit 2; }
8proven=0; failed=0; na=0
9for repo in "$@"; do
10 echo "=== $repo ==="
11 for s in "$here"/00-*.sh "$here"/1[3-9]-*.sh "$here"/2[0-3]-*.sh; do
12 [ -x "$s" ] || continue
13 "$s" "$repo"; rc=$?
14 case $rc in 0) proven=$((proven+1)) ;; 3) na=$((na+1)) ;; *) failed=$((failed+1)) ;; esac
15 echo
16 done
17done
18echo "SUMMARY proven=$proven failed=$failed not_applicable=$na (log: $RESULTS_LOG)"
19[ "$failed" -eq 0 ]