Browse Source

Use centos-8 stream for molecule jobs

Set containers module to 3.0.
Mount dnf vars for evaluating $stream var.
Set --no-stream for ubi container images.
Mark 2 jobs unvoting to fix later.

Change-Id: Ib69f8b5931e846ca012bee8a2bc24dc2a614e274
(cherry picked from commit 8f9a141bf9)
changes/98/788598/4
Sagi Shnaidman 4 weeks ago
parent
commit
40f82e3d66
50 changed files with 52 additions and 152 deletions
  1. +1
    -0
      _skeleton_role_/molecule/default/molecule.yml
  2. +1
    -3
      tripleo_ansible/ansible_plugins/tests/molecule/podman_container/playbook.yml
  3. +0
    -10
      tripleo_ansible/ansible_plugins/tests/molecule/podman_container_info/playbook.yml
  4. +1
    -0
      tripleo_ansible/roles/aide/molecule/default/molecule.yml
  5. +1
    -0
      tripleo_ansible/roles/login-defs/molecule/default/molecule.yml
  6. +1
    -0
      tripleo_ansible/roles/test_deps/defaults/main.yml
  7. +1
    -0
      tripleo_ansible/roles/test_deps/molecule/default/molecule.yml
  8. +1
    -1
      tripleo_ansible/roles/test_deps/tasks/main.yml
  9. +1
    -0
      tripleo_ansible/roles/test_json_error_callback/molecule/default/molecule.yml
  10. +1
    -0
      tripleo_ansible/roles/test_package_action/molecule/default/molecule.yml
  11. +1
    -0
      tripleo_ansible/roles/test_package_action/molecule/negative/molecule.yml
  12. +1
    -0
      tripleo_ansible/roles/test_package_action/molecule/positive/molecule.yml
  13. +1
    -0
      tripleo_ansible/roles/tripleo-cellv2/molecule/default/molecule.yml
  14. +1
    -0
      tripleo_ansible/roles/tripleo-ceph-run-ansible/molecule/default/molecule.yml
  15. +1
    -0
      tripleo_ansible/roles/tripleo-clients-install/molecule/default/molecule.yml
  16. +1
    -0
      tripleo_ansible/roles/tripleo-clients-install/molecule/default/prepare.yml
  17. +1
    -0
      tripleo_ansible/roles/tripleo-config/molecule/default/molecule.yml
  18. +1
    -0
      tripleo_ansible/roles/tripleo-container-image-build/molecule/default/molecule.yml
  19. +1
    -0
      tripleo_ansible/roles/tripleo-container-image-prepare/molecule/default/molecule.yml
  20. +1
    -1
      tripleo_ansible/roles/tripleo-container-manage/molecule/default/playbook.yml
  21. +1
    -0
      tripleo_ansible/roles/tripleo-create-admin/molecule/addkey/molecule.yml
  22. +1
    -0
      tripleo_ansible/roles/tripleo-create-admin/molecule/default/molecule.yml
  23. +1
    -0
      tripleo_ansible/roles/tripleo-create-admin/molecule/keygen/molecule.yml
  24. +1
    -0
      tripleo_ansible/roles/tripleo-hieradata/molecule/ansible_hieradata/molecule.yml
  25. +1
    -0
      tripleo_ansible/roles/tripleo-hieradata/molecule/default/molecule.yml
  26. +1
    -0
      tripleo_ansible/roles/tripleo-hieradata/molecule/hieradata_vars/molecule.yml
  27. +1
    -0
      tripleo_ansible/roles/tripleo-hosts-entries/molecule/default/molecule.yml
  28. +1
    -0
      tripleo_ansible/roles/tripleo-image-serve/molecule/default/molecule.yml
  29. +1
    -0
      tripleo_ansible/roles/tripleo-ptp/molecule/default/molecule.yml
  30. +1
    -0
      tripleo_ansible/roles/tripleo-securetty/molecule/create/molecule.yml
  31. +1
    -0
      tripleo_ansible/roles/tripleo-securetty/molecule/default/molecule.yml
  32. +1
    -0
      tripleo_ansible/roles/tripleo-ssh-known-hosts/molecule/default/molecule.yml
  33. +1
    -0
      tripleo_ansible/roles/tripleo-ssh-known-hosts/molecule/no_networks/molecule.yml
  34. +1
    -0
      tripleo_ansible/roles/tripleo-systemd-wrapper/molecule/default/molecule.yml
  35. +1
    -0
      tripleo_ansible/roles/tripleo-timezone/molecule/default/molecule.yml
  36. +1
    -0
      tripleo_ansible/roles/tripleo-upgrade-hiera/molecule/default/molecule.yml
  37. +1
    -0
      tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/molecule.yml
  38. +1
    -0
      tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/prepare.yml
  39. +1
    -0
      tripleo_ansible/roles/tripleo_lvmfilter/molecule/default/molecule.yml
  40. +1
    -0
      tripleo_ansible/roles/tripleo_multipathd/molecule/custom_config/molecule.yml
  41. +1
    -0
      tripleo_ansible/roles/tripleo_multipathd/molecule/default/molecule.yml
  42. +1
    -0
      tripleo_ansible/roles/tripleo_multipathd/molecule/preexisting_config/molecule.yml
  43. +1
    -0
      tripleo_ansible/roles/tripleo_nodes_validation/molecule/default/molecule.yml
  44. +1
    -0
      tripleo_ansible/roles/tripleo_nvdimm/molecule/default/molecule.yml
  45. +1
    -0
      tripleo_ansible/roles/tripleo_nvdimm/molecule/default/prepare.yml
  46. +0
    -42
      tripleo_ansible/roles/tripleo_packages/molecule/ffu/molecule.yml
  47. +0
    -51
      tripleo_ansible/roles/tripleo_packages/molecule/upgrade/molecule.yml
  48. +0
    -43
      tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/molecule.yml
  49. +1
    -1
      zuul.d/base.yaml
  50. +7
    -0
      zuul.d/playbooks/pre.yml

+ 1
- 0
_skeleton_role_/molecule/default/molecule.yml View File

@ -15,6 +15,7 @@ platforms:
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 3
tripleo_ansible/ansible_plugins/tests/molecule/podman_container/playbook.yml View File

@ -86,7 +86,7 @@
- name: Check failed image pull
podman_container:
name: container
image: ineverneverneverexist
image: quay.io/ineverneverneverexist
state: present
command: sleep 1d
register: imagefail
@ -96,8 +96,6 @@
assert:
that:
- imagefail is failed
- imagefail.msg == "Can't pull image ineverneverneverexist"
- name: Force container recreate
podman_container:


+ 0
- 10
tripleo_ansible/ansible_plugins/tests/molecule/podman_container_info/playbook.yml View File

@ -40,14 +40,6 @@
- name: Dump podman container inspect result
debug: var=existing_container
- name: Comparison with 'podman container inspect'
command: podman container inspect "{{ container_name }}"
register: podman_inspect
- name: Convert podman inspect output to JSON
set_fact:
podman_inspect_result: "{{ podman_inspect.stdout | from_json }}"
- name: Cleanup
command: podman container rm -f {{ container_name }}
@ -56,8 +48,6 @@
that:
- "'containers' in existing_container"
- existing_container.containers
- "existing_container.containers == podman_inspect_result"
- all_containers.containers == existing_container.containers
always:
- name: Delete all container leftovers from tests


+ 1
- 0
tripleo_ansible/roles/aide/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/login-defs/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/test_deps/defaults/main.yml View File

@ -19,3 +19,4 @@ test_deps_extra_packages: []
test_deps_setup_tripleo: false
test_deps_repo_version: "{{ ansible_facts['distribution'] | lower }}{{ ansible_facts['distribution_major_version'] }}-master"
test_deps_mirrors_file_path: /etc/ci/mirror_info.sh
test_deps_setup_stream: true

+ 1
- 0
tripleo_ansible/roles/test_deps/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 1
tripleo_ansible/roles/test_deps/tasks/main.yml View File

@ -67,7 +67,7 @@
- test_deps_setup_tripleo | bool
block:
- name: Create tripleo repos
command: tripleo-repos -b master current-tripleo
command: tripleo-repos {{ test_deps_setup_stream | ternary('--stream', '--no-stream', omit) }} -b master current-tripleo
- name: Install tripleo packages
package:


+ 1
- 0
tripleo_ansible/roles/test_json_error_callback/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
- /tmp:/tmp
privileged: true
environment: &env


+ 1
- 0
tripleo_ansible/roles/test_package_action/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/test_package_action/molecule/negative/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/test_package_action/molecule/positive/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-cellv2/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-ceph-run-ansible/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-clients-install/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-clients-install/molecule/default/prepare.yml View File

@ -21,3 +21,4 @@
- role: test_deps
vars:
test_deps_setup_tripleo: true
test_deps_setup_stream: false

+ 1
- 0
tripleo_ansible/roles/tripleo-config/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-container-image-build/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-container-image-prepare/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 1
tripleo_ansible/roles/tripleo-container-manage/molecule/default/playbook.yml View File

@ -181,7 +181,7 @@
- name: Assert that fedora container has not been re-created
assert:
that:
- fedora_infos_new == fedora_infos_old
- fedora_infos_new['containers'][0]['Id'] == fedora_infos_old['containers'][0]['Id']
fail_msg: 'fedora container was wrongly re-created'
success_msg: 'fedora container was not re-created'
when:


+ 1
- 0
tripleo_ansible/roles/tripleo-create-admin/molecule/addkey/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-create-admin/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-create-admin/molecule/keygen/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-hieradata/molecule/ansible_hieradata/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-hieradata/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-hieradata/molecule/hieradata_vars/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-hosts-entries/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-image-serve/molecule/default/molecule.yml View File

@ -22,6 +22,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-ptp/molecule/default/molecule.yml View File

@ -17,6 +17,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-securetty/molecule/create/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-securetty/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-ssh-known-hosts/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-ssh-known-hosts/molecule/no_networks/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-systemd-wrapper/molecule/default/molecule.yml View File

@ -21,6 +21,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-timezone/molecule/default/molecule.yml View File

@ -21,6 +21,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo-upgrade-hiera/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


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

@ -21,6 +21,7 @@
- role: test_deps
vars:
test_deps_setup_tripleo: true
test_deps_setup_stream: false
post_tasks:
- name: Create paths


+ 1
- 0
tripleo_ansible/roles/tripleo_lvmfilter/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo_multipathd/molecule/custom_config/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo_multipathd/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo_multipathd/molecule/preexisting_config/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo_nodes_validation/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


+ 1
- 0
tripleo_ansible/roles/tripleo_nvdimm/molecule/default/molecule.yml View File

@ -16,6 +16,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
- /etc/dnf/vars:/etc/dnf/vars
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"


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

@ -22,5 +22,6 @@
name: test_deps
vars:
test_deps_setup_tripleo: true
test_deps_setup_stream: false
test_deps_extra_packages:
- jq

+ 0
- 42
tripleo_ansible/roles/tripleo_packages/molecule/ffu/molecule.yml View File

@ -1,42 +0,0 @@
---
driver:
name: podman
log: true
platforms:
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*setuptools
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
provisioner:
name: ansible
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
scenario:
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- destroy
verifier:
name: testinfra

+ 0
- 51
tripleo_ansible/roles/tripleo_packages/molecule/upgrade/molecule.yml View File

@ -1,51 +0,0 @@
---
driver:
name: podman
log: true
platforms:
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python-setuptools openvswitch numactl-libs* unbound-libs*
easy_install:
- pip
command: /sbin/init
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
provisioner:
name: ansible
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH:-/usr/share/ansible/roles}:${HOME}/zuul-jobs/roles"
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
ANSIBLE_FILTER_PLUGINS: "${ANSIBLE_FILTER_PLUGINS:-/usr/share/ansible/plugins/filter}"
ANSIBLE_ACTION_PLUGINS: "${ANSIBLE_ACTION_PLUGINS:-/usr/share/ansible/plugins/action}"
scenario:
test_sequence:
- destroy
- create
- prepare
- converge
- verify
- destroy
verifier:
name: testinfra

+ 0
- 43
tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/molecule.yml View File

@ -1,43 +0,0 @@
---
driver:
name: podman
log: true
platforms:
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python*setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
- /opt/yum.repos.d:/etc/yum.repos.d:rw
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
provisioner:
name: ansible
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
scenario:
test_sequence:
- destroy
- create
- prepare
- converge
- check
- verify
- destroy
verifier:
name: testinfra

+ 1
- 1
zuul.d/base.yaml View File

@ -2,7 +2,7 @@
- job:
description: Base tripleo-ansible job on CentOS 8
name: tripleo-ansible-centos-8-base
nodeset: centos-8
nodeset: centos-8-stream
parent: base
success-url: "reports.html"
failure-url: "reports.html"


+ 7
- 0
zuul.d/playbooks/pre.yml View File

@ -41,6 +41,13 @@
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
virtualenv_site_packages: true
- name: Set containers module to 3.0
become: true
shell: |
dnf module disable container-tools:rhel8 -y
dnf module enable container-tools:3.0 -y
dnf clean metadata
- name: Run bindep
shell: |-
. {{ ansible_user_dir }}/test-python/bin/activate


Loading…
Cancel
Save