-
Notifications
You must be signed in to change notification settings - Fork 73
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
Update CI to use cargo make #136
Conversation
This commit replaces the use of ES_TEST_SERVER with ELASTICSEARCH_URL, for consistency
This commit attempts to simplify the CI test flow by 1. Using rust latest docker image as base image and using a specific rust toolchain 2. Using cargo make to run the testing process
I'm having some issues with Docker on Windows WSL2 in testing this change locally - Disk Usage consistently jumps to hover between 50-100% and docker becomes unresponsive at the point of running |
Testing on CI looks good: https://clients-ci.elastic.co/job/elastic+elasticsearch-rs+master/88/ |
This commit updates the Dockerfile used in CI tests to use rust:latest base image and pull the image before building to ensure that latest tag is the latest release. It appears that the -Z unstable-options --format json works on rust stable channel, despite rust documentation to the contrary.
This commit simplifies the CI test flow by - Using rust latest docker image as base image - Using cargo make to run the testing process pull the docker image before building to ensure that latest tag is the latest release. It appears that the -Z unstable-options --format json works on rust stable channel, despite rust documentation to the contrary. It also replaces the use of ES_TEST_SERVER with ELASTICSEARCH_URL, for consistency (cherry picked from commit 6c13b1d)
This commit simplifies the CI test flow by - Using rust latest docker image as base image - Using cargo make to run the testing process pull the docker image before building to ensure that latest tag is the latest release. It appears that the -Z unstable-options --format json works on rust stable channel, despite rust documentation to the contrary. It also replaces the use of ES_TEST_SERVER with ELASTICSEARCH_URL, for consistency (cherry picked from commit 6c13b1d)
This PR converts the scripts use to run YAML tests on CI to
The use of the
ES_TEST_SERVER
env var is replaced withELASTICSEARCH_URL
in all places, for consistency.