Add gitea-actions: Spring Boot 4.2.0 CI with surefire/failsafe, Testcontainers, CycloneDX SBOM and Jib
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Shared setup for the scenario scripts. Source it; do not run it.
|
||||
set -euo pipefail
|
||||
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
MODULE="$(cd "$HERE/.." && pwd)"
|
||||
OUT="$MODULE/output"
|
||||
mkdir -p "$OUT"
|
||||
cd "$MODULE"
|
||||
# The post was tested with Temurin 25.0.5.1+2. Set JAVA_HOME to use another JDK 25.
|
||||
export PATH="${JAVA_HOME:+$JAVA_HOME/bin:}$PATH"
|
||||
MVN=(mvn -B -ntp)
|
||||
# Strip JVM-launcher noise and wall-clock lines so reruns diff cleanly.
|
||||
clean() { grep -v -E '^Picked up|^WARNING:|Finished at:|^\[INFO\] *$|^\[INFO\] Total time' || true; }
|
||||
banner() { printf '\n=== %s ===\n' "$*"; }
|
||||
Reference in New Issue
Block a user