File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed
Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,20 @@ if [[ $TEST_SUITE != "xpack" ]]; then
3838 elasticsearch_url=" http://${NODE_NAME} :9200"
3939fi
4040
41- ELASTICSEARCH_VERSION=" ${elasticsearch_image} :${ELASTICSEARCH_VERSION} " \
42- NODE_NAME=" ${NODE_NAME} " \
43- NETWORK_NAME=" esnet" \
44- DETACH=true \
45- SSL_CERT=" ${repo}${testnodecrt} " \
46- SSL_KEY=" ${repo}${testnodekey} " \
47- SSL_CA=" ${repo}${cacrt} " \
48- bash .ci/run-elasticsearch.sh
41+ docker run \
42+ --rm \
43+ --env " node.attr.testattr=test" \
44+ --env " path.repo=/tmp" \
45+ --env " repositories.url.allowed_urls=http://snapshot.*" \
46+ --env " discovery.zen.ping.unicast.hosts=${NODE_NAME} " \
47+ --env " xpack.security.enabled=false" \
48+ --env " xpack.monitoring.enabled=false" \
49+ --env " xpack.ml.enabled=false" \
50+ --env ES_JAVA_OPTS=" -Xms1g -Xmx1g" \
51+ --network=esnet \
52+ --name=$NODE_NAME \
53+ --detach \
54+ docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION}
4955
5056docker run \
5157 --network=esnet \
You can’t perform that action at this time.
0 commit comments