forked from containers/toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load fedora-toolbox images in the pre-phase
This change adds a pre task to load the fedora-toolbox images from the registry to prevent false positive failure when pulling images. Each section needs it's own pre-common playbook because they use different version of Fedora -> different default images.
- Loading branch information
1 parent
c86a715
commit b935a3c
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: Load registry image f30/fedora-toolbox:30 in pre-phase and auto restart when registry is flaky | ||
command: podman pull registry.fedoraproject.org/f30/fedora-toolbox:30 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 | ||
|
||
- name: Load registry image f29/fedora-toolbox:29 in pre-phase and auto restart when registry is flaky | ||
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: Load registry image f31/fedora-toolbox:31 in pre-phase and auto restart when registry is flaky | ||
command: podman pull registry.fedoraproject.org/f31/fedora-toolbox:31 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 | ||
|
||
- name: Load registry image f29/fedora-toolbox:29 in pre-phase and auto restart when registry is flaky | ||
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: Load registry image f32/fedora-toolbox:32 in pre-phase and auto restart when registry is flaky | ||
command: podman pull registry.fedoraproject.org/f32/fedora-toolbox:32 | ||
register: _podman | ||
until: _podman.rc == 0 | ||
retries: 5 | ||
delay: 10 | ||
|
||
- name: Load registry image f29/fedora-toolbox:29 in pre-phase and auto restart when registry is flaky | ||
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