We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d96cf70 commit ffbe4ffCopy full SHA for ffbe4ff
.ci/docker/run-client
@@ -9,6 +9,15 @@
9
# - $ELASTICSEARCH_VERSION
10
#
11
12
+docker_pull_attempts=0
13
+until [ "$docker_pull_attempts" -ge 5 ]
14
+do
15
+ docker pull docker.elastic.co/elasticsearch/"$ELASTICSEARCH_VERSION" && break
16
+ docker_pull_attempts=$((docker_pull_attempts+1))
17
+ echo "Failed to pull image, retrying in 10 seconds (retry $docker_pull_attempts/5)..."
18
+ sleep 10
19
+done
20
+
21
# run elasticsearch
22
docker run \
23
--rm \
.ci/jobs/defaults.yml
@@ -66,4 +66,4 @@
66
.ci/run-tests
67
publishers:
68
- email:
69
- recipients: infra-root+[email protected]
+ recipients: build-lang-clients@elastic.co
0 commit comments