-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(dependencies): Autobump korkVersion #6233
Merged
mergify
merged 3 commits into
spinnaker:master
from
spinnakerbot:autobump-korkVersion-master
Jun 12, 2024
Merged
chore(dependencies): Autobump korkVersion #6233
mergify
merged 3 commits into
spinnaker:master
from
spinnakerbot:autobump-korkVersion-master
Jun 12, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…spring boot 2.7.x In spring boot 2.7.8 onwards mysql connector coordinate `mysql:mysql-connector-java` has been removed and only `com.mysql:mysql-connector-j` coordinate exist. https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes#mysql-jdbc-driver So, updating the mysql connector coordinate as `com.mysql:mysql-connector-j` with spring boot upgrade to 2.7.18. https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.7.18/spring-boot-dependencies-2.7.18.pom
…ing upgrade to spring boot 2.7.x While upgrading spring boot 2.7.18, encounter below error during execution of tests under clouddriver-google module: ``` > Task :clouddriver-google:test AbstractGoogleServerGroupCachingAgentTest > serverGroupAutoscalingPolicy_allFields() FAILED java.lang.AssertionError: Expecting actual not to be null at com.netflix.spinnaker.clouddriver.google.provider.agent.AbstractGoogleServerGroupCachingAgentTest.serverGroupAutoscalingPolicy_allFields(AbstractGoogleServerGroupCachingAgentTest.java:791) 646 tests completed, 1 failed, 1 skipped > Task :clouddriver-google:test FAILED ``` The root cause is a breaking change brought by assertj-core:3.22.0 as transitive dependency of spring boot 2.7.18. The breaking change is that extracting() now throws an assertion error if actual is null. https://assertj.github.io/doc/#assertj-core-3-22-0-release-notes Before: ``` $ ./gradlew clouddriver-google:dI --dependency assertj-core --configuration testRuntimeClasspath > Task :clouddriver-google:dependencyInsight org.assertj:assertj-core:3.21.0 Variant runtime: | Attribute Name | Provided | Requested | |------------------------------------|--------------|--------------| | org.gradle.status | release | | | org.gradle.category | library | library | | org.gradle.libraryelements | jar | jar | | org.gradle.usage | java-runtime | java-runtime | | org.gradle.dependency.bundling | | external | | org.gradle.jvm.environment | | standard-jvm | | org.gradle.jvm.version | | 11 | | org.jetbrains.kotlin.platform.type | | jvm | Selection reasons: - By constraint - Forced org.assertj:assertj-core:3.21.0 \--- io.spinnaker.kork:kork-bom:7.227.0 +--- testRuntimeClasspath +--- project :clouddriver-artifacts | \--- testRuntimeClasspath +--- project :clouddriver-consul | \--- testRuntimeClasspath +--- project :clouddriver-core | +--- testRuntimeClasspath | +--- project :clouddriver-artifacts (*) | \--- project :clouddriver-consul (*) +--- project :clouddriver-security | +--- testRuntimeClasspath | \--- project :clouddriver-core (*) +--- project :cats:cats-redis | \--- project :clouddriver-core (*) +--- project :cats:cats-core | +--- testRuntimeClasspath | +--- project :clouddriver-core (*) | +--- project :clouddriver-security (*) | \--- project :cats:cats-redis (*) +--- project :clouddriver-api | +--- testRuntimeClasspath | +--- project :clouddriver-artifacts (*) | +--- project :clouddriver-core (*) | +--- project :clouddriver-security (*) | +--- project :cats:cats-redis (*) | \--- project :cats:cats-core (*) +--- project :clouddriver-google-common | \--- testRuntimeClasspath +--- project :clouddriver-saga | \--- project :clouddriver-core (*) \--- project :clouddriver-event \--- project :clouddriver-saga (*) org.assertj:assertj-core -> 3.21.0 \--- testRuntimeClasspath org.assertj:assertj-core:3.20.2 -> 3.21.0 \--- org.junit.platform:junit-platform-testkit:1.8.2 +--- io.spinnaker.kork:kork-bom:7.227.0 | +--- testRuntimeClasspath | +--- project :clouddriver-artifacts | | \--- testRuntimeClasspath | +--- project :clouddriver-consul | | \--- testRuntimeClasspath | +--- project :clouddriver-core | | +--- testRuntimeClasspath | | +--- project :clouddriver-artifacts (*) | | \--- project :clouddriver-consul (*) | +--- project :clouddriver-security | | +--- testRuntimeClasspath | | \--- project :clouddriver-core (*) | +--- project :cats:cats-redis | | \--- project :clouddriver-core (*) | +--- project :cats:cats-core | | +--- testRuntimeClasspath | | +--- project :clouddriver-core (*) | | +--- project :clouddriver-security (*) | | \--- project :cats:cats-redis (*) | +--- project :clouddriver-api | | +--- testRuntimeClasspath | | +--- project :clouddriver-artifacts (*) | | +--- project :clouddriver-core (*) | | +--- project :clouddriver-security (*) | | +--- project :cats:cats-redis (*) | | \--- project :cats:cats-core (*) | +--- project :clouddriver-google-common | | \--- testRuntimeClasspath | +--- project :clouddriver-saga | | \--- project :clouddriver-core (*) | \--- project :clouddriver-event | \--- project :clouddriver-saga (*) +--- org.spockframework:spock-core:2.0-groovy-3.0 (requested org.junit.platform:junit-platform-testkit) | +--- testRuntimeClasspath (requested org.spockframework:spock-core) | +--- io.spinnaker.kork:kork-bom:7.227.0 (*) | \--- org.spockframework:spock-spring:2.0-groovy-3.0 | +--- testRuntimeClasspath (requested org.spockframework:spock-spring) | \--- io.spinnaker.kork:kork-bom:7.227.0 (*) \--- org.junit:junit-bom:5.8.2 +--- org.spockframework:spock-spring:2.0-groovy-3.0 (requested org.junit:junit-bom:5.7.2) (*) +--- org.spockframework:spock-core:2.0-groovy-3.0 (requested org.junit:junit-bom:5.7.2) (*) +--- org.junit.jupiter:junit-jupiter-engine:5.8.2 | +--- testRuntimeClasspath (requested org.junit.jupiter:junit-jupiter-engine) | +--- io.spinnaker.kork:kork-bom:7.227.0 (*) | \--- org.junit:junit-bom:5.8.2 (*) +--- org.junit.jupiter:junit-jupiter-api:5.8.2 | +--- testRuntimeClasspath (requested org.junit.jupiter:junit-jupiter-api) | +--- io.spinnaker.kork:kork-bom:7.227.0 (*) | +--- org.junit.jupiter:junit-jupiter-engine:5.8.2 (*) | +--- org.mockito:mockito-junit-jupiter:4.0.0 (requested org.junit.jupiter:junit-jupiter-api:5.8.1) | | +--- testRuntimeClasspath (requested org.mockito:mockito-junit-jupiter) | | \--- io.spinnaker.kork:kork-bom:7.227.0 (*) | \--- org.junit:junit-bom:5.8.2 (*) +--- org.junit.platform:junit-platform-launcher:1.8.2 | +--- io.spinnaker.kork:kork-bom:7.227.0 (*) | +--- org.junit:junit-bom:5.8.2 (*) | \--- org.junit.platform:junit-platform-testkit:1.8.2 (*) +--- org.junit.platform:junit-platform-engine:1.8.2 | +--- io.spinnaker.kork:kork-bom:7.227.0 (*) | +--- org.spockframework:spock-core:2.0-groovy-3.0 (requested org.junit.platform:junit-platform-engine) (*) | +--- org.junit.jupiter:junit-jupiter-engine:5.8.2 (*) | +--- org.junit.platform:junit-platform-launcher:1.8.2 (*) | \--- org.junit:junit-bom:5.8.2 (*) +--- org.junit.platform:junit-platform-commons:1.8.2 | +--- io.spinnaker.kork:kork-bom:7.227.0 (*) | +--- org.junit.jupiter:junit-jupiter-api:5.8.2 (*) | +--- org.junit.platform:junit-platform-engine:1.8.2 (*) | \--- org.junit:junit-bom:5.8.2 (*) \--- org.junit.platform:junit-platform-testkit:1.8.2 (*) ``` After ``` $ ./gradlew clouddriver-google:dI --dependency assertj-core --configuration testRuntimeClasspath > Task :clouddriver-google:dependencyInsight org.assertj:assertj-core:3.22.0 Variant runtime: | Attribute Name | Provided | Requested | |------------------------------------|--------------|--------------| | org.gradle.status | release | | | org.gradle.category | library | library | | org.gradle.libraryelements | jar | jar | | org.gradle.usage | java-runtime | java-runtime | | org.gradle.dependency.bundling | | external | | org.gradle.jvm.environment | | standard-jvm | | org.gradle.jvm.version | | 11 | | org.jetbrains.kotlin.platform.type | | jvm | Selection reasons: - By constraint - Forced org.assertj:assertj-core:3.22.0 \--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT +--- testRuntimeClasspath +--- project :clouddriver-artifacts | \--- testRuntimeClasspath +--- project :clouddriver-consul | \--- testRuntimeClasspath +--- project :clouddriver-core | +--- testRuntimeClasspath | +--- project :clouddriver-artifacts (*) | \--- project :clouddriver-consul (*) +--- project :clouddriver-security | +--- testRuntimeClasspath | \--- project :clouddriver-core (*) +--- project :cats:cats-redis | \--- project :clouddriver-core (*) +--- project :cats:cats-core | +--- testRuntimeClasspath | +--- project :clouddriver-core (*) | +--- project :clouddriver-security (*) | \--- project :cats:cats-redis (*) +--- project :clouddriver-api | +--- testRuntimeClasspath | +--- project :clouddriver-artifacts (*) | +--- project :clouddriver-core (*) | +--- project :clouddriver-security (*) | +--- project :cats:cats-redis (*) | \--- project :cats:cats-core (*) +--- project :clouddriver-google-common | \--- testRuntimeClasspath +--- project :clouddriver-saga | \--- project :clouddriver-core (*) \--- project :clouddriver-event \--- project :clouddriver-saga (*) org.assertj:assertj-core -> 3.22.0 \--- testRuntimeClasspath org.assertj:assertj-core:3.20.2 -> 3.22.0 \--- org.junit.platform:junit-platform-testkit:1.8.2 +--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT | +--- testRuntimeClasspath | +--- project :clouddriver-artifacts | | \--- testRuntimeClasspath | +--- project :clouddriver-consul | | \--- testRuntimeClasspath | +--- project :clouddriver-core | | +--- testRuntimeClasspath | | +--- project :clouddriver-artifacts (*) | | \--- project :clouddriver-consul (*) | +--- project :clouddriver-security | | +--- testRuntimeClasspath | | \--- project :clouddriver-core (*) | +--- project :cats:cats-redis | | \--- project :clouddriver-core (*) | +--- project :cats:cats-core | | +--- testRuntimeClasspath | | +--- project :clouddriver-core (*) | | +--- project :clouddriver-security (*) | | \--- project :cats:cats-redis (*) | +--- project :clouddriver-api | | +--- testRuntimeClasspath | | +--- project :clouddriver-artifacts (*) | | +--- project :clouddriver-core (*) | | +--- project :clouddriver-security (*) | | +--- project :cats:cats-redis (*) | | \--- project :cats:cats-core (*) | +--- project :clouddriver-google-common | | \--- testRuntimeClasspath | +--- project :clouddriver-saga | | \--- project :clouddriver-core (*) | \--- project :clouddriver-event | \--- project :clouddriver-saga (*) +--- org.spockframework:spock-core:2.0-groovy-3.0 (requested org.junit.platform:junit-platform-testkit) | +--- testRuntimeClasspath (requested org.spockframework:spock-core) | +--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT (*) | \--- org.spockframework:spock-spring:2.0-groovy-3.0 | +--- testRuntimeClasspath (requested org.spockframework:spock-spring) | \--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT (*) \--- org.junit:junit-bom:5.8.2 +--- org.spockframework:spock-spring:2.0-groovy-3.0 (requested org.junit:junit-bom:5.7.2) (*) +--- org.spockframework:spock-core:2.0-groovy-3.0 (requested org.junit:junit-bom:5.7.2) (*) +--- org.junit.jupiter:junit-jupiter-engine:5.8.2 | +--- testRuntimeClasspath (requested org.junit.jupiter:junit-jupiter-engine) | +--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT (*) | \--- org.junit:junit-bom:5.8.2 (*) +--- org.junit.jupiter:junit-jupiter-api:5.8.2 | +--- testRuntimeClasspath (requested org.junit.jupiter:junit-jupiter-api) | +--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT (*) | +--- org.junit.jupiter:junit-jupiter-engine:5.8.2 (*) | +--- org.mockito:mockito-junit-jupiter:4.5.1 | | +--- testRuntimeClasspath (requested org.mockito:mockito-junit-jupiter) | | \--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT (*) | \--- org.junit:junit-bom:5.8.2 (*) +--- org.junit.platform:junit-platform-launcher:1.8.2 | +--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT (*) | +--- org.junit:junit-bom:5.8.2 (*) | \--- org.junit.platform:junit-platform-testkit:1.8.2 (*) +--- org.junit.platform:junit-platform-engine:1.8.2 | +--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT (*) | +--- org.spockframework:spock-core:2.0-groovy-3.0 (requested org.junit.platform:junit-platform-engine) (*) | +--- org.junit.jupiter:junit-jupiter-engine:5.8.2 (*) | +--- org.junit.platform:junit-platform-launcher:1.8.2 (*) | \--- org.junit:junit-bom:5.8.2 (*) +--- org.junit.platform:junit-platform-commons:1.8.2 | +--- io.spinnaker.kork:kork-bom:sb2718-SNAPSHOT (*) | +--- org.junit.jupiter:junit-jupiter-api:5.8.2 (*) | +--- org.junit.platform:junit-platform-engine:1.8.2 (*) | \--- org.junit:junit-bom:5.8.2 (*) \--- org.junit.platform:junit-platform-testkit:1.8.2 (*) ```
dbyron-sf
requested review from
plumpy,
skandragon,
clanesf and
german-muzquiz
as code owners
June 12, 2024 05:06
dbyron-sf
approved these changes
Jun 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
auto merged
Merged automatically by a bot
autobump-korkVersion-master
ready to merge
Approved and ready for a merge
target-release/1.35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.