-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Support installing plugin SNAPSHOTs with SNASPHOT distribution #16581
base: main
Are you sure you want to change the base?
Conversation
pluginId, | ||
version, | ||
stagingHash | ||
version + "-SNAPSHOT" |
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.
This is tricky one: OpenSearch version has no SNAPSHOT suffix, but Build.CURRENT
does
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.
Couldn't we use the same as release distributions Build.CURRENT.getQualifiedVersion()
?
Sounds like the only diff is the artifacts URL, could we consolidate the if-else ?
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.
Thanks @saratvemulapalli
This is tricky one: OpenSearch version has no SNAPSHOT suffix, but Build.CURRENT does
We don't pass build version here, only the version
(which is current) + isSnapshot
, I think it is fine (vs adding additional arguments)
Sounds like the only diff is the artifacts URL, could we consolidate the if-else ?
This if-else is only about artifacts URL (baseUrl
)
The signature part is not yet settled:
|
13e4822
to
6268761
Compare
❌ Gradle check result for 6268761: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
6268761
to
422c83e
Compare
❌ Gradle check result for 422c83e: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
distribution/tools/plugin-cli/src/main/java/org/opensearch/plugins/InstallPluginCommand.java
Outdated
Show resolved
Hide resolved
422c83e
to
65d5cc9
Compare
❌ Gradle check result for 65d5cc9: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
65d5cc9
to
e7a48c0
Compare
❌ Gradle check result for e7a48c0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
e7a48c0
to
1774f1d
Compare
distribution/tools/plugin-cli/src/main/java/org/opensearch/plugins/InstallPluginCommand.java
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #16581 +/- ##
============================================
- Coverage 72.15% 72.07% -0.08%
+ Complexity 65128 65055 -73
============================================
Files 5315 5315
Lines 303573 303568 -5
Branches 43925 43924 -1
============================================
- Hits 219036 218799 -237
- Misses 66565 66795 +230
- Partials 17972 17974 +2 ☔ View full report in Codecov by Sentry. |
❌ Gradle check result for 1255cf8: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Andriy Redko <[email protected]>
1255cf8
to
7b24470
Compare
❕ Gradle check result for 7b24470: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Success!
|
|
@saratvemulapalli LGTY? thanks! |
Description
Support installing plugin SNAPSHOTs with SNASPHOT distribution
Related Issues
Part of opensearch-project/opensearch-build#5096, addresses #16219
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.