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:
2026-12-01 23:59:28 +05:30
co-authored by Claude Sonnet 5.5
parent bb12eaca0a
commit 5facfdc212
30 changed files with 811 additions and 0 deletions
+14
View File
@@ -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' "$*"; }