-
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
Allow setting of cloud deduction with probes via env vars or property #9508
Conversation
I couldn't find a way of testing this (apart from manually)... In the test build script, we set the cloud provider to |
I wrote a unit test 2e8ad83 for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mentioned the system property and environment variable in the breaking docs as well.
@sdelamo removed the unused import and repetition in the test... |
Kudos, SonarCloud Quality Gate passed! |
In #8068 we disabled probing the OS/network to try and discover the cloud we were running on.
This PR adds an environment variable and property to allow it to be enabled.
Closes #9506