mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Replace image in tests from quay.io (#948)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
87be6de5c7
commit
f41939d8d8
1 changed files with 5 additions and 5 deletions
|
|
@ -20,12 +20,12 @@
|
||||||
register: all_image_result
|
register: all_image_result
|
||||||
|
|
||||||
- name: Pull another image
|
- name: Pull another image
|
||||||
command: podman pull quay.io/coreos/dnsmasq
|
command: podman pull quay.io/sshnaidm1/python:3.12-slim
|
||||||
|
|
||||||
- name: Get info on specific image
|
- name: Get info on specific image
|
||||||
containers.podman.podman_image_info:
|
containers.podman.podman_image_info:
|
||||||
executable: "{{ test_executable | default('podman') }}"
|
executable: "{{ test_executable | default('podman') }}"
|
||||||
name: quay.io/coreos/dnsmasq
|
name: quay.io/sshnaidm1/python:3.12-slim
|
||||||
register: named_image_result
|
register: named_image_result
|
||||||
|
|
||||||
- name: Check results
|
- name: Check results
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
that:
|
that:
|
||||||
- all_image_result.images | length > 0
|
- all_image_result.images | length > 0
|
||||||
- named_image_result.images | length == 1
|
- named_image_result.images | length == 1
|
||||||
- "'quay.io/coreos/dnsmasq' in named_image_result.images[0]['RepoTags'][0]"
|
- "'quay.io/sshnaidm1/python:3.12-slim' in named_image_result.images[0]['RepoTags'][0]"
|
||||||
|
|
||||||
- name: Get info on single image that does not exist
|
- name: Get info on single image that does not exist
|
||||||
containers.podman.podman_image_info:
|
containers.podman.podman_image_info:
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
containers.podman.podman_image_info:
|
containers.podman.podman_image_info:
|
||||||
executable: "{{ test_executable | default('podman') }}"
|
executable: "{{ test_executable | default('podman') }}"
|
||||||
name:
|
name:
|
||||||
- quay.io/coreos/dnsmasq
|
- quay.io/sshnaidm1/python:3.12-slim
|
||||||
- nope
|
- nope
|
||||||
- quay.io/coreos/etcd:v3.5.19
|
- quay.io/coreos/etcd:v3.5.19
|
||||||
register: mixed_nonexistent
|
register: mixed_nonexistent
|
||||||
|
|
@ -73,4 +73,4 @@
|
||||||
state: absent
|
state: absent
|
||||||
loop:
|
loop:
|
||||||
- quay.io/coreos/etcd:v3.5.19
|
- quay.io/coreos/etcd:v3.5.19
|
||||||
- quay.io/coreos/dnsmasq
|
- quay.io/sshnaidm1/python:3.12-slim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue