Scripts in this folder is used to hold the scripts used in Spring Cloud Azure project(in /sdk/spring folder).
Upgrade external dependencies' version according to spring-boot-dependencies and spring-cloud-dependencies.
- Get
SPRING_BOOT_VERSION
from spring-boot-dependencies tags. GetSPRING_CLOUD_VERSION
from spring-cloud-dependencies tags. Note that spring-cloud version should compatible with spring-boot version. Refs: Spring Cloud Release train Spring Boot compatibility. - Update
SPRING_BOOT_VERSION
andSPRING_CLOUD_VERSION
inget_spring_boot_managed_external_dependencies.py
. - Run command
python .\sdk\spring\scripts\get_spring_boot_managed_external_dependencies.py
. Then a file namedspring_boot_SPRING_BOOT_VERSION_managed_external_dependencies.txt
will be created in.\sdk\spring\scripts
. - Update
SPRING_BOOT_VERSION
insync_external_dependencies.py
. - Run command
python .\sdk\spring\scripts\sync_external_dependencies.py
. Then versions in\eng\versioning\external_dependencies.txt
will be synchronized withspring_boot_SPRING_BOOT_VERSION_managed_external_dependencies.txt
. - Update the comment at the beginning of
\eng\versioning\external_dependencies.txt
: Update the file name ofspring_boot_SPRING_BOOT_VERSION_managed_external_dependencies.txt
. - Run command
python .\eng\versioning\update_versions.py --ut external_dependency --sr
- Run command
.\eng\versioning\pom_file_version_scanner.ps1 -Debug
. If there is error, fix it. - Update changelog about compatible Spring Boot versions and Spring Cloud versions in
/sdk/spring/CHANGELOG.md
. - Update two spring-boot versions and two spring-cloud versions in
/sdk/spring/ci.yml
for pipeline.