Compare commits

...

2 Commits

Author SHA1 Message Date
Danny Bessems b441717ee1 Add retries to image downloads #2
continuous-integration/drone/push Build is passing Details
2022-07-04 17:10:15 +02:00
Danny Bessems b7da591571 Add retries to image downloads 2022-07-04 17:08:46 +02:00
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@
ansible.builtin.command:
cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
chdir: /opt/metacluster/container-images
register: imagedownload
until: imagedownload is succeeded
retries: 5
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten + dependencies.container_images }}"
- name: Compress tarballs