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

Add support for running Oracle locally on Apple ARM64 #5540

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

onobc
Copy link
Contributor

@onobc onobc commented Nov 7, 2023

  • Adds local-dev-oracle Maven profile that can be used to build a server jar that includes the Oracle database driver for local testing only.

  • Introduces SystemStubsExtension for setting testcontainers required env vars when running tests on Mac M

  • Decorates the OracleSmokeTest with the above which serves as an example of how to conditionally run an Oracle testcontainers test on Mac M.

  • In tandem, a new page was added to thw Wiki https://github.com/spring-cloud/spring-cloud-dataflow/wiki/Oracle-on-Mac-ARM64

Resolves #5539

* Adds `local-dev-oracle` Maven profile that can be used to build a server jar
that includes the Oracle database driver for local testing only.

* Introduces SystemStubsExtension for setting testcontainers required env vars
when running tests on Mac M

* Decorates the OracleSmokeTest with the above which serves as an example of how
 to conditionally run an Oracle testcontainers test on Mac M.

* In tandem, a new page was added to thw Wiki https://github.com/spring-cloud/spring-cloud-dataflow/wiki/Oracle-on-Mac-ARM64

Resolves spring-cloud#5539
@onobc onobc requested a review from cppwfs November 7, 2023 19:37
@@ -409,5 +415,15 @@
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>local-dev-oracle</id>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We already have a precedent for this technique in PRO for H2 dependency.

@onobc onobc merged commit 6b5ea6b into spring-cloud:main Nov 8, 2023
3 checks passed
@onobc onobc deleted the cbono-add-oracle-m1-support branch November 8, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a developer I need to run Oracle locally on my Mac ARM64
1 participant