Merge "Add retries to promote-docker-image"

This commit is contained in:
Zuul 2019-04-08 21:41:29 +00:00 committed by Gerrit Code Review
commit 2c270a0ca7
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@
username: "{{ docker_credentials.username }}"
password: "{{ docker_credentials.password }}"
register: jwt_token
delay: 5
retries: 3
until: jwt_token and jwt_token.status==200
- name: Promote image
loop: "{{ docker_images }}"
loop_control: