Skip to content

Commit 3a7f1b2

Browse files
committed
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 0887d2e)
1 parent 1691f36 commit 3a7f1b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/playbooks/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
push: yes
2424
source: local
2525
loop: "{{ docker_host_info.images }}"
26+
register: push_status
27+
until: push_status.failed is false
28+
retries: 5
2629
when: kolla_registry == 'dockerhub'
2730

2831
- block:
@@ -39,4 +42,7 @@
3942
repository: "quay.io/{{ item.RepoTags.0 }}"
4043
source: local
4144
loop: "{{ docker_host_info.images }}"
45+
register: push_status
46+
until: push_status.failed is false
47+
retries: 5
4248
when: kolla_registry == 'quay.io'

0 commit comments

Comments
 (0)