Files

11 lines
508 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
packet=/mnt/storage/src/mosaic-stack/agents/rocko/work/queue-114/r1
[ -z "$(git branch --show-current)" ] || { echo 'detached worktree required' >&2;exit 2; }
export DOCKER_HOST=unix:///nonexistent.sock
sha256sum -c "$packet/candidate-manifest.sha256"
git diff --check
python "$packet/gate.py" "${1:?pass absolute gate output directory}"
python "$packet/mutants.py" "${2:?pass separate absolute mutant output directory}"
sha256sum -c "$packet/candidate-manifest.sha256"