elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
695 stars 70 forks source link

Update CI to use cargo make #136

Closed russcam closed 3 years ago

russcam commented 3 years ago

This PR converts the scripts use to run YAML tests on CI to

  1. use cargo make
  2. use rust:latest docker image, and install a specific nightly toolchain to run CI tests, since the unstable cargo test JSON output is used.

The use of the ES_TEST_SERVER env var is replaced with ELASTICSEARCH_URL in all places, for consistency.

russcam commented 3 years ago

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 cargo test. I haven't experienced this previously so tried downgrading to an older version of Docker Desktop, but the problem persists.

russcam commented 3 years ago

Testing on CI looks good: https://clients-ci.elastic.co/job/elastic+elasticsearch-rs+master/88/