Skip to content
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] restore osdVersion to 2.0.0 #947

Merged

Conversation

kavilla
Copy link
Member

@kavilla kavilla commented Apr 15, 2022

Description

By keeping opensearchDashboardsVersion: 2.0.0, plugin owners can
do development using the main branch of OpenSearch Dashboards since
OpenSearch Dashboards sets this value to 2.0.0.

This key-value lets OpenSearch Dashboards can properly install the
plugin since it does a semvar + qualifier check on this value if
they match then OpenSearch Dashboards proceeds to install it.

The build repo passes the qualifier while building OpenSearch Dashboards
and plugins that automatically sets this value to build the correct
version + qualifier. This allows a distribution to be made with value
for opensearchDashboardsVersion be the expected value, for example
opensearchDashboardsVersion: 2.0.0-rc1.

Original PR:
#946

Signed-off-by: Kawika Avilla kavilla414@gmail.com

Category

[Maintenance]

Why these changes are required?

For local development

What is the old behavior before changes and new behavior after changes?

If using OpenSearch Dashboards main, the plugin might have issues bootstrapping.

Issues Resolved

n/a

Testing

n/a

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

By keeping `opensearchDashboardsVersion: 2.0.0`, plugin owners can
do development using the main branch of OpenSearch Dashboards since
OpenSearch Dashboards sets this value to 2.0.0.

This key-value lets OpenSearch Dashboards can properly install the
plugin since it does a semvar + qualifier check on this value if
they match then OpenSearch Dashboards proceeds to install it.

The build repo passes the qualifier while building OpenSearch Dashboards
and plugins that automatically sets this value to build the correct
version + qualifier. This allows a distribution to be made with value
for `opensearchDashboardsVersion` be the expected value, for example
`opensearchDashboardsVersion: 2.0.0-rc1`.

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
@kavilla kavilla requested a review from a team April 15, 2022 23:39
@codecov-commenter
Copy link

Codecov Report

Merging #947 (cb06d9f) into main (91d19a6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #947   +/-   ##
=======================================
  Coverage   72.14%   72.14%           
=======================================
  Files          87       87           
  Lines        1906     1906           
  Branches      242      242           
=======================================
  Hits         1375     1375           
  Misses        477      477           
  Partials       54       54           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 91d19a6...cb06d9f. Read the comment docs.

@peterzhuamazon peterzhuamazon merged commit 350e605 into opensearch-project:main Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants