Skip to content
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

JRE 17 config for Gate #1714

Merged
merged 3 commits into from
Sep 29, 2023
Merged

JRE 17 config for Gate #1714

merged 3 commits into from
Sep 29, 2023

Conversation

mattgogerly
Copy link
Member

  • Add boilerplate to run tests with JRE 17 + build JRE 17 images.
  • Add Jackson converters to RestAdapters that don't have one already.
  • Refactor a test case to not mock Files.

@@ -146,9 +151,11 @@ class DeckPluginCacheTest : JUnit5Minutests {
}
temp
}
mockkStatic(Files::class)
every { Files.createDirectories(any()) } returns Paths.get("/dev/null")
every { Files.move(any(), any(), any()) } returns Paths.get("/dev/null")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not work on Java 17.

@mattgogerly mattgogerly added the ready to merge Approved and ready for merge label Sep 29, 2023
@mergify mergify bot added the auto merged label Sep 29, 2023
@mergify mergify bot merged commit 9f664b0 into spinnaker:master Sep 29, 2023
5 checks passed
@mattgogerly mattgogerly deleted the feat/jre17 branch September 29, 2023 15:45
@mattgogerly mattgogerly restored the feat/jre17 branch October 3, 2023 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants