Skip to content

Add support to test against multiple versions of OpenSearch#62

Merged
VachaShah merged 2 commits intoopensearch-project:mainfrom
VachaShah:compatibility-matrix
Apr 25, 2022
Merged

Add support to test against multiple versions of OpenSearch#62
VachaShah merged 2 commits intoopensearch-project:mainfrom
VachaShah:compatibility-matrix

Conversation

@VachaShah
Copy link
Copy Markdown
Collaborator

Description

Adding support to run tests against multiple versions of OpenSearch in the CI. I separated out the compatibility.yml since the matrix was becoming huge in the main.yml with multiple ruby versions.

Issues Resolved

#56

Check List

  • 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.

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
@VachaShah VachaShah requested review from a team, VijayanB and dblock April 21, 2022 18:23
Copy link
Copy Markdown
Member

@VijayanB VijayanB left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks

Copy link
Copy Markdown
Member

@saratvemulapalli saratvemulapalli left a comment

Choose a reason for hiding this comment

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

Changes look good to me. Thanks @VachaShah !

Dropped a minor comment.

fail-fast: false
matrix:
cluster-version: [ "1.0.0", "1.0.1", "1.1.0", "1.2.0", "1.2.1", "1.2.2", "1.2.3", "1.2.4", "1.3.0", "1.3.1" ]
runs-on: ubuntu-latest
Copy link
Copy Markdown
Member

@saratvemulapalli saratvemulapalli Apr 25, 2022

Choose a reason for hiding this comment

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

Are we expecting clients to work on multiple platforms, cpu architectures?
I am curious how this works for clients. Are there any platform specific code in clients?

As a developer I would like to have these clients tested and validated atleast in the popular platforms.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I haven't yet come across platform specific code in the clients, we can definitely create an issue in opensearch-clients to add this testing as a feature.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i believe it is interpreted at run time. But i like the idea of including strategy to cover mac/linux/windows to be proactive in all our clients.

Copy link
Copy Markdown
Member

@saratvemulapalli saratvemulapalli Apr 25, 2022

Choose a reason for hiding this comment

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

Sure, I'll open an issue. opensearch-project/opensearch-clients#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants