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

[CI][BWC] add BWC tests to github actions #1624

Merged
merged 2 commits into from
Jun 2, 2022

Conversation

kavilla
Copy link
Member

@kavilla kavilla commented May 25, 2022

Description

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Signed-off-by: Kawika Avilla kavilla414@gmail.com

Issues Resolved

#1465
#1651

Check List

  • New functionality includes testing.
    • All tests pass
      • yarn test:jest
      • yarn test:jest_integration
      • yarn test:ftr
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

@codecov-commenter
Copy link

codecov-commenter commented May 25, 2022

Codecov Report

Merging #1624 (741a9ce) into main (665424e) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1624   +/-   ##
=======================================
  Coverage   68.08%   68.09%           
=======================================
  Files        3072     3072           
  Lines       59015    59015           
  Branches     8924     8924           
=======================================
+ Hits        40183    40187    +4     
+ Misses      16645    16642    -3     
+ Partials     2187     2186    -1     
Impacted Files Coverage Δ
...ic/application/models/sense_editor/sense_editor.ts 64.88% <0.00%> (+0.88%) ⬆️
...ared/static/forms/hook_form_lib/hooks/use_field.ts 66.66% <0.00%> (+0.96%) ⬆️

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 665424e...741a9ce. Read the comment docs.

@kavilla kavilla force-pushed the avillk/github/bwc_tests branch 3 times, most recently from a9aeea6 to b0e4018 Compare May 29, 2022 06:21
@kavilla kavilla linked an issue May 29, 2022 that may be closed by this pull request
@kavilla kavilla marked this pull request as ready for review May 29, 2022 06:24
@kavilla kavilla requested a review from a team as a code owner May 29, 2022 06:24
Copy link
Member

@joshuarrrr joshuarrrr left a comment

Choose a reason for hiding this comment

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

Looks good to me, except that I think the instructions/docs could be a bit clearer. I'm still a bit confused about how the process of generating test data is supposed to work/be enforced.

Do we also need an update to https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/RELEASING.md, if generating test data should be done as part of a release? Or maybe just an update to the release issue templates.

TESTING.md Outdated Show resolved Hide resolved
scripts/bwc/utils.sh Show resolved Hide resolved
ananzh
ananzh previously approved these changes Jun 1, 2022
Copy link
Member

@ananzh ananzh left a comment

Choose a reason for hiding this comment

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

nice 👍

@kavilla kavilla force-pushed the avillk/github/bwc_tests branch 5 times, most recently from 77c74ef to 1a0becc Compare June 2, 2022 07:20
Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Copy link
Member

@joshuarrrr joshuarrrr left a comment

Choose a reason for hiding this comment

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

A couple questions, but none that are blocking.

.github/workflows/build_and_test_workflow.yml Show resolved Hide resolved
scripts/bwctest_osd.sh Outdated Show resolved Hide resolved
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
@kavilla kavilla requested a review from ananzh June 2, 2022 17:46
Copy link
Member

@ananzh ananzh left a comment

Choose a reason for hiding this comment

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

great research & cool piece

@ashwin-pc ashwin-pc merged commit 35eeb76 into opensearch-project:main Jun 2, 2022
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jun 2, 2022
Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Backport PR:
opensearch-project#1624

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jun 3, 2022
Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Backport PR:
opensearch-project#1624

Includes changes from:
opensearch-project#1502

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jun 3, 2022
Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Backport PR:
opensearch-project#1624

Includes changes from:
opensearch-project#1502

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit that referenced this pull request Jun 3, 2022
* [CI][BWC] add BWC tests to github actions (#1624)

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
#1465
#1651

Backport PR:
#1624

Includes changes from:
#1502

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jun 3, 2022
…roject#1624) (opensearch-project#1659)

[CI][BWC] add BWC tests to github actions (opensearch-project#1624)

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Backport PR:
opensearch-project#1624

Includes changes from:
opensearch-project#1502

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit that referenced this pull request Jun 4, 2022
… (#1675)

[CI][BWC] add BWC tests to github actions (#1624)

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
#1465
#1651

Backport PR:
#1624

Includes changes from:
#1502

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jun 8, 2022
* [CI][BWC] add BWC tests to github actions

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* Address comments

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jun 8, 2022
* [CI][BWC] add BWC tests to github actions

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* Address comments

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jun 15, 2022
Changes originating from:
opensearch-project#1624

This allows the workflow to run using the published images from:
https://hub.docker.com/r/opensearchstaging/ci-runner/tags. To avoid
the issues when GitHub virtual environments are updated.

Issue:
opensearch-project#1746

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this pull request Jun 16, 2022
* [CI][BWC] add BWC tests to github actions

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* Address comments

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
pjfitzgibbons pushed a commit to pjfitzgibbons/OpenSearch-Dashboards that referenced this pull request Dec 1, 2022
…roject#1624) (opensearch-project#1659)

* [CI][BWC] add BWC tests to github actions (opensearch-project#1624)

Add backwards compatibility tests to github workflow for PRs.
Also, fix for checking status of OpenSearch Dashboards since
api/status/ is not protected.

Also, enable ability to create test data since migration from
1.0.0 to 3.0.0 is not supported for OpenSearch currently.

Issue:
opensearch-project#1465
opensearch-project#1651

Backport PR:
opensearch-project#1624

Includes changes from:
opensearch-project#1502

Signed-off-by: Kawika Avilla <kavilla414@gmail.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.

[CI] hook PR workflow into BWC tests
6 participants