This repository was archived by the owner on Dec 20, 2025. It is now read-only.
Commit 2ffe1fb
chore(build): gradle 7 (#188)
* chore(build): gradle 7
* chore(build): getByType vs fineByType
* chore(build): runtimeOnly
* chore(build): remove bintray
* fix(tests): Fix the issue with SpinnakerExtensionGradlePluginFunctionalTest during gradle 7.6 upgrade
While upgrade of gradle 7.6, faced the failure of tests "compatibility test task succeeds if failing test is not required" and "can run an end-to-end build, including compatibility test". The reason being the unpredictable execution of tasks (unrelated to each other) given as argument in Gradlerunner testkit.
https://github.com/spinnaker/spinnaker-gradle-project/blob/e00c77502311b2112a268c5ea0233573cd29f7c2/spinnaker-extensions/src/functionaltest/kotlin/com/netflix/spinnaker/gradle/extension/SpinnakerExtensionGradlePluginFunctionalTest.kt#L83
In order to fix, established the conditional ordering between unrelated task of "compatibilityTest" and "releaseBundle"
* test(extensions): remove compatibiity test of gradle version 6.8.1
With upgrade of gradle version 7.6.1 in spinnaker-gradle-project, the code has been modified to remove deprecations. It cause compatibility tests to break with gradle version 6.8.1, so removing it.
---------
Co-authored-by: j-sandy <30489233+j-sandy@users.noreply.github.com>1 parent ca84e5f commit 2ffe1fb
11 files changed
Lines changed: 200 additions & 142 deletions
File tree
- gradle/wrapper
- spinnaker-extensions
- src
- functionaltest/kotlin/com/netflix/spinnaker/gradle/extension
- main/kotlin/com/netflix/spinnaker/gradle/extension
- compatibility
- tasks
- test/kotlin/com/netflix/spinnaker/gradle/extension
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments