Add cloud-2026-upgrade: step-by-step upgrade of the shop to Spring Boot 4.2.0 / Spring Cloud 2026.0.0, with probes

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
This commit is contained in:
Claude
2026-12-04 08:21:10 +05:30
parent 3c17b13c3f
commit 2ddc181501
59 changed files with 1669 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Bump only one of the two version numbers and capture what the config server says. Writes output/10-half-upgrades.txt
MOD=$(cd "$(dirname "$0")/.." && pwd); cd "$MOD" || exit 1
unset JAVA_TOOL_OPTIONS
F=output/10-half-upgrades.txt; : > $F
for pair in "shopbootonly Boot 4.2.0 with Spring Cloud 2025.1.5" "shopcloudonly Boot 4.1.3 with Spring Cloud 2026.0.0"; do
read -r dir title <<<"$pair"
mkdir -p run/$dir/run/logs
(cd run/$dir && timeout 60 java -Xmx200m -jar config-server/target/config-server-1.0.0.jar > run/logs/config-server.log 2>&1)
{ echo "=== $title"; sed -n '/APPLICATION FAILED TO START/,/spring.cloud.compatibility-verifier.enabled=false/p' run/$dir/run/logs/config-server.log | grep -v '^\s*$'; echo; } >> $F
done
cat $F