-
Notifications
You must be signed in to change notification settings - Fork 272
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
[BUILD][OSD] Support version qualifier #1836
[BUILD][OSD] Support version qualifier #1836
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1836 +/- ##
=========================================
Coverage 94.53% 94.54%
Complexity 19 19
=========================================
Files 176 176
Lines 3622 3627 +5
Branches 27 27
=========================================
+ Hits 3424 3429 +5
Misses 194 194
Partials 4 4
Continue to review full report at Codecov.
|
|
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.
Something feels fishy. Are you saying that an OpenSearch Dashboards version will be different from OpenSearch? Same question for plugins. Do you have an example of what that looks like?
I'm sorry I'm not sure what you are referring to. Can you expand on this? |
Why is |
Got it I was going to bring this up so thanks for mentioning. With this change this makes it so plugins can install to specific version of OpenSearch Dashboards without doing the update manually. For example, https://github.com/opensearch-project/alerting-dashboards-plugin/blob/main/opensearch_dashboards.json#L3 can remain
But with the current condition check it will expect that So the new logic just allows for the extra |
98a1e87
to
37dd8d0
Compare
Not sure why the manifest for OpenSearch 2.0.0 keeps failing but should be good to go. |
@kavilla Why should it be possible to install a |
From OpenSearch Dashboards perspective the logic checks From OpenSearch Dashboards perspective if we want to change that logic might need to create a proposal because forks could be always making that assumption. If we want to handle the prevention of plugins from building |
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 @kavilla I have no questions except DB's latest comment on function names.
Thanks.
@gaiksaya is going to add qualifier support for ci workflow soon. |
Support version qualifier builds for OpenSearch Dashboards and OpenSearch Dashboards Plugins. This will create a zip for plugins with the OpenSearch Dashboards version + qualifier. But the version of the plugin will remain the same whilst opensearchDashboardsVersion in the opensearch_dashboards.json will be the OpenSearch Dashboards version, eg, 1.3.0-alpha1. This is why the version check needed to be modified a little to ensure that it can get the version + qualifier and the default version of the plugin. Updated for plugins as well. Was able to successfully build and connect OSD 1.3.0-alpha1 to the release version of OS 1.3.0. Issue resolved: opensearch-project/OpenSearch-Dashboards#1340 Issue partially resolved: opensearch-project#1632 Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
64c8f46
to
a8391a2
Compare
Description
Support version qualifier builds for OpenSearch Dashboards and
OpenSearch Dashboards Plugins.
This will create a zip for plugins with the OpenSearch Dashboards
version + qualifier. But the version of the plugin will remain the
same whilst opensearchDashboardsVersion in the opensearch_dashboards.json
will be the OpenSearch Dashboards version, eg, 1.3.0-alpha1. This is why
the version check needed to be modified a little to ensure that it can
get the version + qualifier and the default version of the plugin.
Updated for plugins as well.
Was able to successfully build and connect OSD 1.3.0-alpha1 to
the release version of OS 1.3.0.
Signed-off-by: Kawika Avilla kavilla414@gmail.com
Issues Resolved
opensearch-project/OpenSearch-Dashboards#1340
Issue partially resolved:
#1632
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.