-
Notifications
You must be signed in to change notification settings - Fork 300
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
Update to gradle 8.0.2 #2520
Update to gradle 8.0.2 #2520
Conversation
Signed-off-by: Craig Perkins <[email protected]>
The failing tasks come from the OpenSearch repo, seems like we should open an issue to resolve?
|
Signed-off-by: Craig Perkins <[email protected]>
@@ -206,7 +206,9 @@ opensearchplugin { | |||
loggerUsageCheck.enabled = false | |||
|
|||
// No need to validate pom, as we do not upload to maven/sonatype | |||
validateNebulaPom.enabled = false | |||
tasks.matching {it.path in [":validateMavenPom", ":validateNebulaPom", ":validatePluginZipPom"]}.all { task -> |
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.
nice!
build.gradle
Outdated
tasks.matching {it.path in [":validateMavenPom", ":validateNebulaPom", ":validatePluginZipPom"]}.all { task -> | ||
task.enabled = false | ||
} |
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.
Seems like we can keep running the validation by adding the dependency, verified on my local machine
tasks.matching {it.path in [":validateMavenPom", ":validateNebulaPom", ":validatePluginZipPom"]}.all { task -> | |
task.enabled = false | |
} | |
tasks.matching {it.path in [":validateMavenPom", ":validateNebulaPom", ":validatePluginZipPom"]}.all { task -> | |
task.dependsOn ':generatePomFileForNebulaPublication', ':generatePomFileForPluginZipPublication', ':generatePomFileForMavenPublication' | |
} |
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.
Updated
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.
Please upgrade the bwc-test
gradle version too
Signed-off-by: Craig Perkins <[email protected]>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #2520 +/- ##
============================================
- Coverage 61.27% 61.21% -0.06%
+ Complexity 3332 3328 -4
============================================
Files 260 260
Lines 18504 18504
Branches 3268 3268
============================================
- Hits 11339 11328 -11
- Misses 5571 5578 +7
- Partials 1594 1598 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
nicely done @cwperks !
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-2520-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 1daff1180ba2a0f02b9d4e38ecb20937572b5bad
# Push it to GitHub
git push --set-upstream origin backport/backport-2520-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
I will create a manual backport for this. |
Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Maciej Mierzwa <[email protected]>
Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Maciej Mierzwa <[email protected]>
Description
Starting a draft pull request to understand required efforts for migration to gradle 8. Reference PR from core: opensearch-project/OpenSearch#5666
Maintenance
Issues Resolved
N/A
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.