Browse Source

tripleo_container_*/molecule: pull fedora instead of centos8

In these tests, we use the fedora container and not centos:8; so right
after when we run "podman run", it can fail if the fedora image isn't
pulled.

Let's pull the right image before the podman run.

Change-Id: If32d5f9e3ff1a590d2fc467969404861ec733f9b
tags/1.4.0
Emilien Macchi 2 months ago
parent
commit
3e1e723ce2
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      tripleo_ansible/roles/tripleo_container_rm/molecule/default/prepare.yml
  2. +1
    -1
      tripleo_ansible/roles/tripleo_container_rm/molecule/legacy_vars/prepare.yml
  3. +1
    -1
      tripleo_ansible/roles/tripleo_container_rm/molecule/podman-rm-stopped/prepare.yml
  4. +1
    -1
      tripleo_ansible/roles/tripleo_container_stop/molecule/default/prepare.yml

+ 1
- 1
tripleo_ansible/roles/tripleo_container_rm/molecule/default/prepare.yml View File

@@ -32,7 +32,7 @@
state: latest

- name: Pull container image
command: "podman pull centos:8"
command: "podman pull fedora"

- name: Create test containers
command: "podman run -itd --systemd true --name {{ item }} fedora bash"


+ 1
- 1
tripleo_ansible/roles/tripleo_container_rm/molecule/legacy_vars/prepare.yml View File

@@ -32,7 +32,7 @@
state: latest

- name: Pull container image
command: "podman pull centos:8"
command: "podman pull fedora"

- name: Create test containers
command: "podman run -itd --systemd true --name {{ item }} fedora bash"


+ 1
- 1
tripleo_ansible/roles/tripleo_container_rm/molecule/podman-rm-stopped/prepare.yml View File

@@ -32,7 +32,7 @@
state: latest

- name: Pull container image
command: "podman pull centos:8"
command: "podman pull fedora"

- name: Create test containers
command: "podman run -itd --systemd true --name {{ item }} fedora bash"


+ 1
- 1
tripleo_ansible/roles/tripleo_container_stop/molecule/default/prepare.yml View File

@@ -32,7 +32,7 @@
state: latest

- name: Pull container image
command: "podman pull centos:8"
command: "podman pull fedora"

- name: Create test containers
command: "podman run -itd --systemd true --name {{ item }} fedora bash"


Loading…
Cancel
Save