-
Notifications
You must be signed in to change notification settings - Fork 25
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 bwc.checkout.align parameter support in gradle-check #451
Conversation
Signed-off-by: Rishabh Singh <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #451 +/- ##
============================================
+ Coverage 84.23% 84.26% +0.03%
Complexity 80 80
============================================
Files 105 106 +1
Lines 520 521 +1
Branches 61 61
============================================
+ Hits 438 439 +1
Misses 26 26
Partials 56 56 ☔ View full report in Codecov by Sentry. |
@@ -71,7 +78,7 @@ void call(Map args = [:]) { | |||
|
|||
echo "Start gradlecheck" | |||
GRADLE_CHECK_STATUS=0 | |||
./gradlew clean && ./gradlew check -Dtests.coverage=true --no-daemon --no-scan || GRADLE_CHECK_STATUS=1 | |||
./gradlew clean && ./gradlew check -Dtests.coverage=true ${bwc_checkout_align_param} --no-daemon --no-scan || GRADLE_CHECK_STATUS=1 |
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.
Does the below suggestion make it less confusing?
./gradlew clean && ./gradlew check -Dtests.coverage=true ${bwc_checkout_align_param} --no-daemon --no-scan || GRADLE_CHECK_STATUS=1 | |
./gradlew clean && ./gradlew check -Dtests.coverage=true -Dbwc.checkout.align=${bwc_checkout_align} --no-daemon --no-scan || GRADLE_CHECK_STATUS=1 |
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.
Why add it when it is set to false by default.
Honestly doesn't make any difference.
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.
Just in case the default value changes in OpenSearch repo, it will be easier to debug using the command in the gradle check run. Your call
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 feel like at the moment we can keep it removed if false, since it is the origin behavior unchanged.
Signed-off-by: Rishabh Singh <[email protected]> (cherry picked from commit 9338046) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Rishabh Singh <[email protected]> (cherry picked from commit 9338046) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Add
bwc.checkout.align
parameter support in gradle-check.Issues Resolved
#420
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.