Files
spring-ai/cloud-providers/scripts/run-all.sh
T

12 lines
597 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates every file under output/. The tests write them through the Transcript helper, so each figure in a
# transcript is also an assertion: if a number stops being true, the build fails. Each scenario starts the real
# application in a child JVM with an exact environment, so the full run takes several minutes.
# No cloud account and no network access to AWS or Azure is needed; scripts/azure-starter-check.sh only reads Maven Central.
set -euo pipefail
cd "$(dirname "$0")/.."
rm -rf target output
mvn -q -B test
./scripts/azure-starter-check.sh > /dev/null
ls output