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

Fixes broken main build which was caused due to version mismatch #989

Merged

Conversation

DarshitChanpura
Copy link
Member

@DarshitChanpura DarshitChanpura commented May 13, 2022

Description

Fixes broken main build

Issues Resolved

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.

@DarshitChanpura DarshitChanpura requested a review from a team May 13, 2022 20:21
@peternied peternied added the backport 2.0 backport to 2.0 branch label May 13, 2022
@peternied
Copy link
Member

This is a much better than the change I had pointed to the 2.0 branch

@codecov-commenter
Copy link

codecov-commenter commented May 16, 2022

Codecov Report

Merging #989 (3498dea) into main (59247fb) will not change coverage.
The diff coverage is n/a.

❗ Current head 3498dea differs from pull request most recent head 80f90d6. Consider uploading reports for the commit 80f90d6 to get more accurate results

@@           Coverage Diff           @@
##             main     #989   +/-   ##
=======================================
  Coverage   72.14%   72.14%           
=======================================
  Files          87       87           
  Lines        1906     1906           
  Branches      242      247    +5     
=======================================
  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 59247fb...80f90d6. Read the comment docs.

@@ -5,6 +5,10 @@ on: [push, pull_request]
env:
TEST_BROWSER_HEADLESS: 1
CI: 1
OPENSEARCH_DASHBOARDS_VERSION: 2.0
OPENSEARCH_CORE_VERSION: 2.0
OPENSEARCH_CORE_VERSION_QUALIFIER: ${{OPENSEARCH_CORE_VERSION}}.0
Copy link
Member

Choose a reason for hiding this comment

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

Integration tests fail because these variables are not declared successfully. You can reference to here and declare the env variables in the same way to make them available.

@@ -5,6 +5,8 @@ on: [push, pull_request]
env:
TEST_BROWSER_HEADLESS: 1
CI: 1
OPENSEARCH_DASHBOARDS_VERSION: 2.0
OPENSEARCH_CORE_VERSION: 2.0
Copy link
Member

Choose a reason for hiding this comment

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

This 2 variables need to be defined with echo... >> $GITHUB_ENV too to be available for reference.

@DarshitChanpura DarshitChanpura force-pushed the fix-broken-main-build branch 17 times, most recently from c5c89bf to 0ba1aad Compare May 16, 2022 22:15
@DarshitChanpura DarshitChanpura force-pushed the fix-broken-main-build branch 9 times, most recently from 3498dea to 4dddfa7 Compare May 16, 2022 22:54
cliu123
cliu123 previously approved these changes May 16, 2022
@cliu123 cliu123 merged commit 426ec61 into opensearch-project:main May 16, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 16, 2022
cliu123 pushed a commit to cliu123/security-dashboards-plugin that referenced this pull request May 17, 2022
peternied pushed a commit that referenced this pull request May 17, 2022
… (#995)

Signed-off-by: Darshit Chanpura <[email protected]>
(cherry picked from commit 426ec61)
Signed-off-by: cliu123 <[email protected]>

Co-authored-by: Darshit Chanpura <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.0 backport to 2.0 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Builds are broken because integration tests are failing due to dashbaords version number switch
5 participants