Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Policy Simulation / policy-simulate (push) Has been cancelled
SDK Publish & Sign / sdk-publish (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
18 lines
625 B
Bash
18 lines
625 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
# Replay smoke: restart infra and rerun baseline smoke to validate persistence/readiness.
|
|
|
|
COMPOSE_FILE=${COMPOSE_FILE:-ops/devops/orchestrator/docker-compose.orchestrator.yml}
|
|
STATE_DIR=${STATE_DIR:-out/orchestrator-smoke}
|
|
|
|
log() { printf "[replay-smoke] %s\n" "$*"; }
|
|
|
|
log "restarting orchestrator infra (compose: $COMPOSE_FILE)"
|
|
docker compose -f "$COMPOSE_FILE" down
|
|
docker compose -f "$COMPOSE_FILE" up -d
|
|
|
|
log "running baseline smoke"
|
|
COMPOSE_FILE="$COMPOSE_FILE" STATE_DIR="$STATE_DIR" scripts/orchestrator/smoke.sh
|
|
|
|
log "replay smoke done; readiness at $STATE_DIR/readiness.txt"
|