1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Fix podman CI test container images (#804)

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sergey 2024-07-14 23:24:19 +03:00 committed by GitHub
parent 3087fcc353
commit 3e303c7797
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,8 +65,8 @@
executable: "{{ test_executable | default('podman') }}" executable: "{{ test_executable | default('podman') }}"
name: '{{ item }}' name: '{{ item }}'
loop: loop:
- k8s.gcr.io/coredns:1.7.0 - registry.k8s.io/coredns/coredns:v1.9.3
- k8s.gcr.io/echoserver:1.10 - gcr.io/kubernetes-e2e-test-images/echoserver:2.2
- name: Clean up multifile - name: Clean up multifile
ansible.builtin.file: ansible.builtin.file:
@ -75,7 +75,7 @@
- name: Create multi image file - name: Create multi image file
shell: >- shell: >-
podman save k8s.gcr.io/coredns:1.7.0 k8s.gcr.io/echoserver:1.10 -o /tmp/multi.tar podman save registry.k8s.io/coredns/coredns:v1.9.3 gcr.io/kubernetes-e2e-test-images/echoserver:2.2 -o /tmp/multi.tar
- name: Load image from oci-dir multi image archive - name: Load image from oci-dir multi image archive
containers.podman.podman_load: containers.podman.podman_load:
@ -87,5 +87,5 @@
assert: assert:
that: that:
- image.image != {} - image.image != {}
- '"k8s.gcr.io/coredns:1.7.0" in image.image.NamesHistory' - '"registry.k8s.io/coredns/coredns:v1.9.3" in image.image.NamesHistory'
- '"k8s.gcr.io/echoserver:1.10" in image.image.NamesHistory' - '"gcr.io/kubernetes-e2e-test-images/echoserver:2.2" in image.image.NamesHistory'