Skip to content

Commit 1c2104c

Browse files
committed
[CI] Adds API versioning variable to run-repository with 8.0.0
1 parent d66faad commit 1c2104c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.ci/run-repository.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ echo -e "\033[1m>>>>> Run [elastic/elasticsearch-ruby container] >>>>>>>>>>>>>>>
3838

3939
repo=`pwd`
4040

41+
if [[ $STACK_VERSION == "8.0.0-SNAPSHOT" ]]; then
42+
ELASTIC_API_VERSIONING=true
43+
fi
44+
4145
# run the client tests
4246
if [[ $TEST_SUITE != "platinum" ]]; then
4347
docker run \
@@ -58,6 +62,7 @@ else
5862
--env "TEST_SUITE=${TEST_SUITE}" \
5963
--env "ELASTIC_USER=elastic" \
6064
--env "SINGLE_TEST=${SINGLE_TEST}" \
65+
--env "ELASTIC_CLIENT_APIVERSIONING=${ELASTIC_API_VERSIONING:-false}" \
6166
--volume $repo:/usr/src/app \
6267
--name elasticsearch-ruby \
6368
--rm \

0 commit comments

Comments
 (0)