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

Remove explicit node version for workbench #588

Merged
merged 3 commits into from
Apr 22, 2022

Conversation

joshuali925
Copy link
Member

@joshuali925 joshuali925 commented Apr 22, 2022

Signed-off-by: Joshua Li [email protected]

Description

[Describe what this change achieves]

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.

@joshuali925 joshuali925 requested a review from a team as a code owner April 22, 2022 19:39
run: |
echo "::set-output name=node_version::$(node -p "(require('./OpenSearch-Dashboards/package.json').engines.node).match(/[.0-9]+/)[0]")"
echo "::set-output name=yarn_version::$(node -p "(require('./OpenSearch-Dashboards/package.json').engines.yarn).match(/[.0-9]+/)[0]")"

- name: Setup Node

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

sure, updated

Signed-off-by: Joshua Li <[email protected]>
Signed-off-by: Joshua Li <[email protected]>
with:
node-version: '14.18.2'
node-version-file: ".nvmrc"

Choose a reason for hiding this comment

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

I think you have to point to the OpenSearch Dashboards directory to get this to work.

Choose a reason for hiding this comment

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

You beat me to it :)

@codecov-commenter
Copy link

codecov-commenter commented Apr 22, 2022

Codecov Report

Merging #588 (264d9c0) into main (061456c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #588   +/-   ##
=========================================
  Coverage     94.59%   94.59%           
  Complexity     2743     2743           
=========================================
  Files           276      276           
  Lines          7455     7455           
  Branches        551      551           
=========================================
  Hits           7052     7052           
  Misses          349      349           
  Partials         54       54           
Flag Coverage Δ
query-workbench 62.76% <ø> (ø)
sql-engine 97.67% <ø> (ø)

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


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 061456c...264d9c0. Read the comment docs.

@joshuali925 joshuali925 merged commit a7d4395 into opensearch-project:main Apr 22, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 22, 2022
Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit a7d4395)
joshuali925 added a commit that referenced this pull request Apr 25, 2022
Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit a7d4395)

Co-authored-by: Joshua Li <[email protected]>
Yury-Fridlyand added a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Oct 5, 2022
Yury-Fridlyand added a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Oct 5, 2022
* Fix java installation for SQL plugin workflow;
* Backport workbench CI fixes from opensearch-project#588 and opensearch-project#704.

Signed-off-by: Yury-Fridlyand <[email protected]>
@Yury-Fridlyand Yury-Fridlyand mentioned this pull request Oct 5, 2022
6 tasks
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.

5 participants