Files
geointel/scripts/run_rc8_release_journeys.sh
Jens faeb58ef6d
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
Initial public release
2026-08-31 21:56:53 +02:00

33 lines
900 B
Bash

#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
BASE_URL="${1:-${GE_INTEL_BASE_URL:-http://127.0.0.1:1202}}"
OUTPUT_DIR="${2:-artifacts/rc8-release-journeys}"
GOLDEN_MANIFEST="${3:-artifacts/rc8-golden-areas.json}"
PYTHON_BIN="${PYTHON_BIN:-python3}"
if ! command -v "$PYTHON_BIN" >/dev/null 2>&1; then
PYTHON_BIN="python"
fi
if ! command -v "$PYTHON_BIN" >/dev/null 2>&1; then
echo "Python is required to provision release Areas." >&2
exit 2
fi
if ! command -v npm >/dev/null 2>&1; then
echo "Node.js/npm is required to execute release journeys." >&2
exit 2
fi
"$PYTHON_BIN" scripts/provision_release_golden_areas.py \
--base-url "$BASE_URL" \
--output "$GOLDEN_MANIFEST" \
--apply
npm --prefix frontend run test:e2e -- \
--base-url "$BASE_URL" \
--golden-manifest "../$GOLDEN_MANIFEST" \
--output "../$OUTPUT_DIR"