-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
playbooks: Reduce flakiness due to network errors when pulling images
This change adds a pre-run task to pull the fedora-toolbox images from the registry to reduce the number of false positives caused by 'podman pull' failing to download them during the actual test. Each section needs a separate playbook because they use different versions of Fedora, and hence different default images. #375
- Loading branch information
1 parent
5cea6c6
commit 50683c9
Showing
6 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- name: Pull registry.fedoraproject.org/f30/fedora-toolbox:30 | ||
command: podman pull registry.fedoraproject.org/f30/fedora-toolbox:30 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 | ||
|
||
- name: Pull registry.fedoraproject.org/f29/fedora-toolbox:29 | ||
command: podman pull registry.fedoraproject.org/f29/fedora-toolbox:29 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- name: Pull registry.fedoraproject.org/f31/fedora-toolbox:31 | ||
command: podman pull registry.fedoraproject.org/f31/fedora-toolbox:31 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 | ||
|
||
- name: Pull registry.fedoraproject.org/f29/fedora-toolbox:29 | ||
command: podman pull registry.fedoraproject.org/f29/fedora-toolbox:29 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- name: Pull registry.fedoraproject.org/f32/fedora-toolbox:32 | ||
command: podman pull registry.fedoraproject.org/f32/fedora-toolbox:32 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 | ||
|
||
- name: Pull registry.fedoraproject.org/f29/fedora-toolbox:29 | ||
command: podman pull registry.fedoraproject.org/f29/fedora-toolbox:29 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters