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 is successful #313

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Feb 23, 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

There was also an issue in this repo that was fixed when we caught a similar issue during release testing. Context is here: opensearch-project/dashboards-observability#309. Here is a test run proving this PR would have caught that issue during RC testing: https://github.com/opensearch-project/dashboards-observability/actions/runs/8024893403/job/21924379904

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • 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.

Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.47%. Comparing base (2d39d24) to head (133af78).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #313   +/-   ##
=======================================
  Coverage   74.47%   74.47%           
=======================================
  Files          30       30           
  Lines        1904     1904           
  Branches      410      410           
=======================================
  Hits         1418     1418           
  Misses        483      483           
  Partials        3        3           
Flag Coverage Δ
dashboards-report 74.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@rupal-bq rupal-bq merged commit a9c0c95 into opensearch-project:main Feb 23, 2024
14 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 23, 2024
* Add workflow to verify binary installation is successful

Signed-off-by: Derek Ho <[email protected]>

* Use new version to pass in custom suffix

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit a9c0c95)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
derek-ho pushed a commit that referenced this pull request Feb 27, 2024
* Add workflow to verify binary installation is successful



* Use new version to pass in custom suffix



---------


(cherry picked from commit a9c0c95)

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants