-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Refactor Docker Compose version detection to predictably pick v2 only if v1 is not available #16793
Conversation
… if v1 is not available Signed-off-by: Andriy Redko <[email protected]>
buildSrc/src/main/java/org/opensearch/gradle/docker/DockerSupportService.java
Show resolved
Hide resolved
buildSrc/src/main/java/org/opensearch/gradle/testfixtures/TestFixturesPlugin.java
Show resolved
Hide resolved
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.
Approved.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16793 +/- ##
============================================
+ Coverage 72.05% 72.11% +0.06%
- Complexity 65183 65206 +23
============================================
Files 5318 5318
Lines 303993 303996 +3
Branches 43990 43991 +1
============================================
+ Hits 219028 219213 +185
+ Misses 67046 66873 -173
+ Partials 17919 17910 -9 ☔ View full report in Codecov by Sentry. |
… if v1 is not available (#16793) Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 98dbc4a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… if v1 is not available (#16793) (#16800) (cherry picked from commit 98dbc4a) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Refactor Docker Compose version detection to predictably pick v2 only if v1 is not available. At the moment, if V1 and V2 are installed, the V1 is checked but ignored, with no option to be picked up.
Related Issues
Followup on #16049
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.