Skip to content

Commit ffbe4ff

Browse files
committed
[CI] Update email for CI builds and retry docker
1 parent d96cf70 commit ffbe4ff

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.ci/docker/run-client

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
# - $ELASTICSEARCH_VERSION
1010
#
1111

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+
1221
# run elasticsearch
1322
docker run \
1423
--rm \

.ci/jobs/defaults.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@
6666
.ci/run-tests
6767
publishers:
6868
- email:
69-
recipients: infra-root+[email protected]
69+
recipients: build-lang-clients@elastic.co

0 commit comments

Comments
 (0)