Skip to content

Commit

Permalink
[CI] Pass SINGLE_TEST variable to docker container for isolating x-pa…
Browse files Browse the repository at this point in the history
…ck test runs to one test
  • Loading branch information
estolfo committed Apr 3, 2019
1 parent 9cfecf4 commit ce6401f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/docker/run-security
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ docker run \
--env "ELASTIC_PASSWORD=changeme" \
--env "ELASTIC_USER=elastic" \
--env "TEST_SUITE=security" \
--env "SINGLE_TEST=${SINGLE_TEST}" \
--volume $repo:/usr/src/app \
--name elasticsearch-ruby \
--rm \
Expand Down
1 change: 1 addition & 0 deletions .ci/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set -eo pipefail

export RUBY_TEST_VERSION=${RUBY_TEST_VERSION:-2.6.1}
export ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION:-6.7.0}
export SINGLE_TEST=${SINGLE_TEST}

set +x
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="$VAULT_ROLE_ID" secret_id="$VAULT_SECRET_ID")
Expand Down

0 comments on commit ce6401f

Please sign in to comment.