summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2023-02-16 08:23:27 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2023-02-22 07:37:49 +0000
commit22518ed6c2660a80b8fdb3bb51d2c0cbe3eb8ef5 (patch)
tree88de6058300338a0c5e9d955185cf3c2d6ba4b34 /tests
parent278167179c39da821a1580be397eaffc0ba8471b (diff)
downloadkolla-22518ed6c2660a80b8fdb3bb51d2c0cbe3eb8ef5.tar.gz
kolla-22518ed6c2660a80b8fdb3bb51d2c0cbe3eb8ef5.zip
CI: Retry docker push on publish jobs
We have a high number of POST_FAILURE jobs failing on at least one container push - let's fix that. Change-Id: I0015dd4d3ffe5b3e1202ebcfde2b2c72c4655b41 (cherry picked from commit 0887d2e789e8fcd41b49c6346034c4774ea919dd)
Diffstat (limited to 'tests')
-rw-r--r--tests/playbooks/publish.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/playbooks/publish.yml b/tests/playbooks/publish.yml
index 4e27086f2..8b2485676 100644
--- a/tests/playbooks/publish.yml
+++ b/tests/playbooks/publish.yml
@@ -23,6 +23,9 @@
push: yes
source: local
loop: "{{ docker_host_info.images }}"
+ register: push_status
+ until: push_status.failed is false
+ retries: 5
when: kolla_registry == 'dockerhub'
- block:
@@ -39,4 +42,7 @@
repository: "quay.io/{{ item.RepoTags.0 }}"
source: local
loop: "{{ docker_host_info.images }}"
+ register: push_status
+ until: push_status.failed is false
+ retries: 5
when: kolla_registry == 'quay.io'