Re-runs the RC1 checklist on GA and adds SSL-bundle options on the LDAP client, the migrator fail switch, OpenTelemetry convention spellings, migrated RestClient/RestTestClient, compiler removal warnings for RestTemplate, TestRestTemplate and Pulsar, and jar/BOM probes. Transcripts in output/. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5G8Z7wYEQnr5w4DfG
22 lines
1.3 KiB
Bash
Executable File
22 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Re-runs MigratorTest on 4.2.0 with the two Actuator-related starters removed from the classpath and
|
|
# stores what the migrator prints in output/20-migrator-without-actuator.txt. The migrator can only
|
|
# report a key whose metadata is on the classpath, and the metadata for management.* keys ships in
|
|
# the Actuator/Micrometer jars.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
python3 - <<'PY'
|
|
import re
|
|
s = open("pom.xml").read()
|
|
for art in ("spring-boot-starter-actuator", "spring-boot-starter-opentelemetry"):
|
|
s = re.sub(r"\s*<dependency>\s*<groupId>org.springframework.boot</groupId>\s*<artifactId>%s</artifactId>\s*</dependency>" % art, "", s)
|
|
open("pom-no-actuator.xml", "w").write(s)
|
|
PY
|
|
cp output/04-properties-migrator-report.txt target/04-with-actuator.txt
|
|
# ConventionSpellingsTest and MigratedClientsTest need Actuator/Micrometer; only MigratorTest runs here
|
|
mvn -B -q -f pom-no-actuator.xml test -Dtest=MigratorTest -Dsurefire.failIfNoSpecifiedTests=false >/dev/null
|
|
sed 's/^# 04-properties-migrator-report/# 20-migrator-without-actuator/' output/04-properties-migrator-report.txt > output/20-migrator-without-actuator.txt
|
|
cp target/04-with-actuator.txt output/04-properties-migrator-report.txt
|
|
rm -f pom-no-actuator.xml
|
|
cat output/20-migrator-without-actuator.txt
|