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 support to test against multiple versions of OpenSearch #62

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

VachaShah
Copy link
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.

@VachaShah VachaShah requested review from VijayanB, dblock and a team April 21, 2022 18:23
Copy link
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
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
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
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
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
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