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

Use OpenSearch 2.0.0-alpha1 #370

Merged
merged 3 commits into from
Mar 30, 2022
Merged

Conversation

qreshi
Copy link
Contributor

@qreshi qreshi commented Mar 30, 2022

Issue #, if available:

Description of changes:

  • Bumps OpenSearch version being used from 2.0.0 to 2.0.0-alpha1
  • Removes mapping type usage
  • Adds -Dbuild.qualifier=alpha1 to the GitHub Actions to ensure we're using alpha for dependencies as well (i.e. common-utils)

The security workflow is still expected to fail for now since the Docker image with security plugin 2.0 is not available yet.

CheckList:
[ ] 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.

@qreshi qreshi requested a review from a team March 30, 2022 17:29
@qreshi qreshi changed the title Bump to OpenSearch 2.0-alpha1 Use OpenSearch 2.0-alpha1 Mar 30, 2022
@qreshi
Copy link
Contributor Author

qreshi commented Mar 30, 2022

A single test failed in the multi-node test workflow. Looks like it's flaky since the workflow passed on a re-run, will include the command to reproduce for debugging:

./gradlew ':alerting:integTest' --tests "org.opensearch.alerting.MonitorRunnerIT.test create ClusterMetricsInput monitor with alert triggered" -Dtests.seed=E212782E26CD39BD -Dtests.security.manager=false -Dtests.locale=es-AR -Dtests.timezone=Europe/Malta -Druntime.java=11
  2> java.lang.AssertionError: This triggerResult should be triggered: {triggered=false, action_results={}, name=UDMtGnrZFB, error=null}

@qreshi qreshi merged commit 5a1b96f into opensearch-project:main Mar 30, 2022
Angie-Zhang pushed a commit to Angie-Zhang/alerting that referenced this pull request Jun 29, 2022
* Use OpenSearch 2.0.0-alpha1

Signed-off-by: Mohammad Qureshi <[email protected]>

* Remove use of mapping types

Signed-off-by: Mohammad Qureshi <[email protected]>

* Pass in alpha1 build qualifier when assembling/building in GitHub Actions

Signed-off-by: Mohammad Qureshi <[email protected]>
Signed-off-by: Angie Zhang <[email protected]>
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