-
Notifications
You must be signed in to change notification settings - Fork 81
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
Make ci compatible with os2.x #153
Make ci compatible with os2.x #153
Conversation
Don't run the parent_spec for opensearch >= 2.x Update index_spec.rb and compressed_indexing_spec.rb to not expect the _type field in the doc for Opensearch >= 2.0.0 Signed-off-by: Deep Datta <deedatta@amazon.com>
Signed-off-by: Deep Datta <deedatta@amazon.com>
…ent the version fetch from failing. For some logstash version e.g. 7.17.1, 8.3.2 the images are missing python leading to the following comand in scripts/logstash-run.sh to fail echo $(curl -s $SERVICE_URL | python -c "import sys, json; print(json.load(sys.stdin)['version']['number'])") That is causing some integration test to fail which depends on the OpenSearch version number. Signed-off-by: Deep Datta <deedatta@amazon.com>
Signed-off-by: Deep Datta <deedatta@amazon.com>
Signed-off-by: Deep Datta <deedatta@amazon.com>
@@ -34,7 +34,7 @@ jobs: | |||
strategy: | |||
matrix: | |||
logstash: [ "7.16.3", "7.17.1", "8.3.2" ] | |||
opensearch: [ "1.2.1" ] | |||
opensearch: [ "1.3.4", "2.1.0" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean we don't want the 1.2.1
version at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other clients tests against all released version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we want to run the tests only on the latest released versions of 1.x and 2.x
Description
Fix the integration tests to work with OpenSearch 2.x and add OpenSearch 2.1.0 in the CI test matrix.
Also update the OpenSearch 1.x version in CI from 1.2.1 to 1.3.4
Issues Resolved
#148
Check List
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.