Context:
Currently Spring Cloud Azure supports multi Spring Boot and Spring Cloud versions, but those versions are not actively tested.
we need to figure out how to enable a testing matrix to actively test all support spring versions and Spring Cloud Azure libraries.
- Spring projects release monthly.
- Several types of libraries can be released from Spring projects, snapshot, prerelease, and GA.
- We use multiple Spring projects in Spring Cloud Azure: Spring Framework, Spring Boot, Spring Data, Spring Integration, Spring Cloud Stream, etc.
Strong has a poc for how to get dependency versions: https://github.com/Azure/spring-cloud-azure-tools/tree/t1/src/main/java/com/azure/spring/dev/tools/dependency
Goal:
The Spring Cloud Azure dev branch should align with Spring Boot on the current Spring Boot version.
- Spring Cloud Azure's source code dependency version should rely on the return value from
https://spring.io/project_metadata/spring-boot with current: true.
- When the current version from
https://spring.io/project_metadata/spring-boot changes, we should catch up ASAP.
- Track:
The Spring Cloud Azure dev branch should maintain a test matrix for dependent Spring projects. -- UT
- Spring Cloud Azure defines their supported Spring Boot versions,
- The supported versions change along with Spring releases.
- Such as
supported-versions.json, listing 2.5.1 and 2.6.1 for example.
- Spring Cloud Azure tests on each milestone and GA releases of dependent Spring projects.
- Track:
The Spring Cloud Azure should have integration tests, containing all Spring Cloud Azure libraries, to run against each version. -- IT
Solutions
- The Spring Cloud versions, should be parsed from API like
curl -G https://start.spring.io/pom.xml -d packaging=war -o pom.xml and retrieved automatically
- The version matrix should be persistent somewhere, such as spring-cloud-azure-tools repo.
Originally posted by @saragluna in microsoft/spring-cloud-azure#930 (comment)
Context:
Currently Spring Cloud Azure supports multi Spring Boot and Spring Cloud versions, but those versions are not actively tested.
we need to figure out how to enable a testing matrix to actively test all support spring versions and Spring Cloud Azure libraries.
Strong has a poc for how to get dependency versions: https://github.com/Azure/spring-cloud-azure-tools/tree/t1/src/main/java/com/azure/spring/dev/tools/dependency
Goal:
The Spring Cloud Azure dev branch should align with Spring Boot on the current Spring Boot version.
https://spring.io/project_metadata/spring-bootwithcurrent: true.https://spring.io/project_metadata/spring-bootchanges, we should catch up ASAP.The Spring Cloud Azure dev branch should maintain a test matrix for dependent Spring projects. -- UT
supported-versions.json, listing 2.5.1 and 2.6.1 for example.The Spring Cloud Azure should have integration tests, containing all Spring Cloud Azure libraries, to run against each version. -- IT
Solutions
curl -G https://start.spring.io/pom.xml -d packaging=war -o pom.xmland retrieved automaticallyOriginally posted by @saragluna in microsoft/spring-cloud-azure#930 (comment)