diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2023-02-16 08:23:27 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2023-02-16 08:24:16 +0100 |
| commit | 0887d2e789e8fcd41b49c6346034c4774ea919dd (patch) | |
| tree | cabe364f37d89e750367226d677f2fec1baafbe9 /tests | |
| parent | ca0238598a37c4a174c7b8d55b64c15bb34ef58a (diff) | |
| download | kolla-0887d2e789e8fcd41b49c6346034c4774ea919dd.tar.gz kolla-0887d2e789e8fcd41b49c6346034c4774ea919dd.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
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/playbooks/publish.yml | 6 |
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' |
