Skip to content

Commit b6f51a7

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "CI: Retry docker push on publish jobs" into stable/yoga
2 parents 14589d4 + d40f67f commit b6f51a7

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)