Skip to content

[Epic] Improve test matrix to include all supported spring versions #2

@saragluna

Description

@saragluna

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.

The Spring Cloud Azure dev branch should maintain a test matrix for dependent Spring projects. -- UT

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions