forked from mtusi2026/mtusi2026lab5
Durable staging handoff, transactional outbox, at-least-once worker with lease fencing, idempotent versioned pipeline, three variants, operator tooling, contract tests and evidence. Includes the review fixes: reprocess source selection and failure settlement, replay guards, stale-job retirement, PNG structural/raster validation, migration rollback safety and audit events.
8 lines
257 B
Bash
Executable File
8 lines
257 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
# Fault-injection hook: stop the lab5 worker and leave it stopped.
|
|
ROOT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
cd "$ROOT_DIR"
|
|
COMPOSE_BIN=${COMPOSE_BIN:-docker compose}
|
|
$COMPOSE_BIN --env-file .env -f compose.yaml stop worker
|