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 #373

Merged
merged 1 commit into from
Mar 1, 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, e.g. Closes [...].

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 83.13%. Comparing base (75f66b9) to head (9b7cba7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #373   +/-   ##
=======================================
  Coverage   83.13%   83.13%           
=======================================
  Files          32       32           
  Lines         415      415           
  Branches       81       81           
=======================================
  Hits          345      345           
  Misses         49       49           
  Partials       21       21           
Flag Coverage Δ
dashboards-search-relevance 83.13% <ø> (ø)

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.

@derek-ho
Copy link
Contributor Author

The new workflow is blocked on: opensearch-project/OpenSearch-Dashboards#5952, but everything else seems fine. @sejli @mingshl can you take a look when you can?

Copy link
Member

@sejli sejli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'm guessing that the current timeout failure is because of OSD not coming up healthy with this issue #5952. I'll rerun the workflow when the issue gets resolved, thanks!

@sejli sejli merged commit 3bfbfda into opensearch-project:main Mar 1, 2024
14 checks passed
github-actions bot added a commit that referenced this pull request Mar 1, 2024
Signed-off-by: Derek Ho <dxho@amazon.com>
(cherry picked from commit 3bfbfda)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
sejli pushed a commit that referenced this pull request Mar 18, 2024
(cherry picked from commit 3bfbfda)

Signed-off-by: Derek Ho <dxho@amazon.com>
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
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants