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

Add workflow to verify binary installation works #693

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

derek-ho
Copy link
Contributor

@derek-ho derek-ho commented Feb 26, 2024

Description

I have observed some issues within other plugins of issues being only caught at run time. This is because several things can go wrong during the build process, which may not be caught in a dev setup. This adds a workflow to verify that building and installing into OSD works on every PR.

Related issues:
opensearch-project/security-dashboards-plugin#1709
opensearch-project/security-analytics-dashboards-plugin#875
opensearch-project/dashboards-observability#309
opensearch-project/OpenSearch-Dashboards#5952

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • 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.

Signed-off-by: Derek Ho <dxho@amazon.com>
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.31%. Comparing base (e5cf2d8) to head (abfc4f2).

❗ Current head abfc4f2 differs from pull request most recent head 27d0667. Consider uploading reports for the commit 27d0667 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #693   +/-   ##
=======================================
  Coverage   50.31%   50.31%           
=======================================
  Files         166      166           
  Lines        5595     5593    -2     
  Branches     1075     1057   -18     
=======================================
- Hits         2815     2814    -1     
  Misses       2508     2508           
+ Partials      272      271    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Derek Ho <dxho@amazon.com>
dbwiddis
dbwiddis previously approved these changes Mar 22, 2024
Signed-off-by: Derek Ho <dxho@amazon.com>
@jackiehanyang
Copy link
Collaborator

Thanks for the change!

@jackiehanyang jackiehanyang merged commit 41a1703 into opensearch-project:main Apr 24, 2024
6 of 10 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 24, 2024
* Add workflow to verify binary installation works

Signed-off-by: Derek Ho <dxho@amazon.com>

* Fix name of renamed zip

Signed-off-by: Derek Ho <dxho@amazon.com>

* Add single version = loose flag

Signed-off-by: Derek Ho <dxho@amazon.com>

---------

Signed-off-by: Derek Ho <dxho@amazon.com>
(cherry picked from commit 41a1703)
jackiehanyang pushed a commit that referenced this pull request Apr 24, 2024
* Add workflow to verify binary installation works

Signed-off-by: Derek Ho <dxho@amazon.com>

* Fix name of renamed zip

Signed-off-by: Derek Ho <dxho@amazon.com>

* Add single version = loose flag

Signed-off-by: Derek Ho <dxho@amazon.com>

---------

Signed-off-by: Derek Ho <dxho@amazon.com>
(cherry picked from commit 41a1703)

Co-authored-by: Derek Ho <derek01778@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x github actions Updating or adding GitHub actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants