okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
53623e56f
main
1#!/usr/bin/env bash 2# Everything that runs after the measurements: a fresh hardware snapshot (the 3# first one was taken before the runs), the curated engine.log, the number 4# tables, and the private-path rewrite. Run it last, before the commit. 5set -u 6REPORT =" $( cd -- " $( dirname -- " $ 0" ) /.." && pwd ) " 7ROOT =" $( cd -- " $ REPORT /../../.." && pwd ) " 8DATA =$ REPORT /data 9S =$ REPORT /scripts 10PY =$ ROOT /.venv/bin/python 11 12step () {echo ;echo "[ $( date -Is ) ] === $ * ===" ;echo ; } 13 14step "hardware snapshot" 15bash " $ S /collect_hardware.sh" " $ DATA /hardware.txt" 16 17step "engine.log" 18" $ PY " " $ S /make_engine_log.py" 19 20step "summary tables" 21" $ PY " " $ S /summarize.py" > " $ DATA /summary.md" 22tail -n +1" $ DATA /summary.md" 23 24step "private paths" 25" $ PY " " $ S /sanitize.py"