mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Fix conditions in CI jobs (#928)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
35a9cc1f93
commit
f1a9456147
4 changed files with 10 additions and 6 deletions
|
|
@ -85,11 +85,11 @@
|
|||
assert:
|
||||
that:
|
||||
- "'containers' in existing_container"
|
||||
- existing_container.containers
|
||||
- existing_container.containers | length > 0
|
||||
# - "existing_container.containers == podman_inspect_result"
|
||||
# - all_containers.containers == existing_container.containers
|
||||
- "'containers' in mixed_existing_container"
|
||||
- mixed_existing_container.containers
|
||||
- mixed_existing_container.containers | length > 0
|
||||
# - existing_container.containers == mixed_existing_container.containers
|
||||
|
||||
always:
|
||||
|
|
|
|||
|
|
@ -37,7 +37,9 @@
|
|||
assert:
|
||||
that:
|
||||
- "'login' in non_existing_registry"
|
||||
- non_existing_registry.login
|
||||
- non_existing_registry.login is not none
|
||||
- non_existing_registry.login != {}
|
||||
- non_existing_registry.login | length > 0
|
||||
- "'registry' in non_existing_registry.login"
|
||||
- "'username' in non_existing_registry.login"
|
||||
- "'logged_in' in non_existing_registry.login"
|
||||
|
|
@ -57,7 +59,9 @@
|
|||
assert:
|
||||
that:
|
||||
- "'login' in non_existing_authfile"
|
||||
- non_existing_authfile.login
|
||||
- non_existing_authfile.login is not none
|
||||
- non_existing_authfile.login != {}
|
||||
- non_existing_authfile.login | length > 0
|
||||
- "'username' in non_existing_authfile.login"
|
||||
- "'logged_in' in non_existing_authfile.login"
|
||||
- "non_existing_authfile.login.username == ''"
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
assert:
|
||||
that:
|
||||
- "'networks' in existing_network"
|
||||
- existing_network.networks
|
||||
- existing_network.networks | length > 0
|
||||
- "existing_network.networks == podman_inspect_result"
|
||||
always:
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
assert:
|
||||
that:
|
||||
- "'volumes' in existing_volume"
|
||||
- existing_volume.volumes
|
||||
- existing_volume.volumes | length > 0
|
||||
- "existing_volume.volumes == podman_inspect_result"
|
||||
always:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue