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/97/788597/4
Sagi Shnaidman 2 weeks ago
parent
commit
35530d74f0
65 changed files with 92 additions and 35 deletions
  1. +1
    -0
      _skeleton_role_/molecule/default/molecule.yml
  2. +1
    -3
      tripleo_ansible/ansible_plugins/tests/molecule/podman_container/converge.yml
  3. +0
    -10
      tripleo_ansible/ansible_plugins/tests/molecule/podman_container_info/converge.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_package_action/molecule/default/molecule.yml
  10. +1
    -0
      tripleo_ansible/roles/test_package_action/molecule/negative/molecule.yml
  11. +1
    -0
      tripleo_ansible/roles/test_package_action/molecule/positive/molecule.yml
  12. +1
    -0
      tripleo_ansible/roles/tripleo_cellv2/molecule/default/molecule.yml
  13. +1
    -0
      tripleo_ansible/roles/tripleo_ceph_common/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_ceph_uuid/molecule/default/molecule.yml
  16. +1
    -0
      tripleo_ansible/roles/tripleo_ceph_work_dir/molecule/default/molecule.yml
  17. +1
    -0
      tripleo_ansible/roles/tripleo_clients_install/molecule/default/molecule.yml
  18. +1
    -0
      tripleo_ansible/roles/tripleo_clients_install/molecule/default/prepare.yml
  19. +1
    -0
      tripleo_ansible/roles/tripleo_config/molecule/default/molecule.yml
  20. +1
    -0
      tripleo_ansible/roles/tripleo_container_image_build/molecule/default/molecule.yml
  21. +1
    -0
      tripleo_ansible/roles/tripleo_container_image_prepare/molecule/default/molecule.yml
  22. +1
    -1
      tripleo_ansible/roles/tripleo_container_manage/molecule/default/converge.yml
  23. +1
    -0
      tripleo_ansible/roles/tripleo_create_admin/molecule/addkey/molecule.yml
  24. +1
    -0
      tripleo_ansible/roles/tripleo_create_admin/molecule/default/molecule.yml
  25. +1
    -0
      tripleo_ansible/roles/tripleo_create_admin/molecule/keygen/molecule.yml
  26. +1
    -0
      tripleo_ansible/roles/tripleo_derived_parameters/molecule/default/molecule.yml
  27. +1
    -0
      tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/molecule.yml
  28. +1
    -0
      tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/prepare.yml
  29. +1
    -0
      tripleo_ansible/roles/tripleo_hieradata/molecule/ansible_hieradata/molecule.yml
  30. +1
    -0
      tripleo_ansible/roles/tripleo_hieradata/molecule/default/molecule.yml
  31. +1
    -0
      tripleo_ansible/roles/tripleo_hieradata/molecule/hieradata_vars/molecule.yml
  32. +1
    -0
      tripleo_ansible/roles/tripleo_hosts_entries/molecule/default/molecule.yml
  33. +1
    -0
      tripleo_ansible/roles/tripleo_image_serve/molecule/default/molecule.yml
  34. +1
    -0
      tripleo_ansible/roles/tripleo_image_serve/molecule/legacy_vars/molecule.yml
  35. +1
    -0
      tripleo_ansible/roles/tripleo_lvmfilter/molecule/default/molecule.yml
  36. +1
    -0
      tripleo_ansible/roles/tripleo_multipathd/molecule/custom_config/molecule.yml
  37. +1
    -0
      tripleo_ansible/roles/tripleo_multipathd/molecule/default/molecule.yml
  38. +1
    -0
      tripleo_ansible/roles/tripleo_multipathd/molecule/preexisting_config/molecule.yml
  39. +1
    -0
      tripleo_ansible/roles/tripleo_network_config/molecule/default/molecule.yml
  40. +3
    -0
      tripleo_ansible/roles/tripleo_network_config/molecule/default/prepare.yml
  41. +16
    -17
      tripleo_ansible/roles/tripleo_nodes_validation/molecule/default/molecule.yml
  42. +1
    -0
      tripleo_ansible/roles/tripleo_nova_image_cache/molecule/default/molecule.yml
  43. +1
    -0
      tripleo_ansible/roles/tripleo_nvdimm/molecule/default/molecule.yml
  44. +1
    -0
      tripleo_ansible/roles/tripleo_nvdimm/molecule/default/prepare.yml
  45. +1
    -0
      tripleo_ansible/roles/tripleo_persist/molecule/default/molecule.yml
  46. +1
    -0
      tripleo_ansible/roles/tripleo_ptp/molecule/default/molecule.yml
  47. +1
    -0
      tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/molecule.yml
  48. +2
    -1
      tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/prepare.yml
  49. +1
    -0
      tripleo_ansible/roles/tripleo_redhat_enforce/molecule/default/molecule.yml
  50. +2
    -0
      tripleo_ansible/roles/tripleo_redhat_enforce/molecule/default/prepare.yml
  51. +1
    -0
      tripleo_ansible/roles/tripleo_securetty/molecule/create/molecule.yml
  52. +1
    -0
      tripleo_ansible/roles/tripleo_securetty/molecule/default/molecule.yml
  53. +1
    -0
      tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/default/molecule.yml
  54. +1
    -0
      tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/no_networks/molecule.yml
  55. +1
    -0
      tripleo_ansible/roles/tripleo_sshd/molecule/banners/molecule.yml
  56. +1
    -0
      tripleo_ansible/roles/tripleo_sshd/molecule/default/molecule.yml
  57. +1
    -0
      tripleo_ansible/roles/tripleo_systemd_wrapper/molecule/default/molecule.yml
  58. +1
    -0
      tripleo_ansible/roles/tripleo_timemaster/molecule/defaults/molecule.yml
  59. +1
    -0
      tripleo_ansible/roles/tripleo_timezone/molecule/default/molecule.yml
  60. +1
    -0
      tripleo_ansible/roles/tripleo_upgrade_hiera/molecule/default/molecule.yml
  61. +1
    -0
      tripleo_ansible/roles/tripleo_validations_package/molecule/default/molecule.yml
  62. +3
    -1
      tripleo_ansible/roles/tripleo_validations_package/molecule/default/prepare.yml
  63. +1
    -1
      zuul.d/base.yaml
  64. +2
    -0
      zuul.d/molecule.yaml
  65. +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/converge.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/converge.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

@ -66,7 +66,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_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_common/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_ceph_uuid/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_work_dir/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/converge.yml View File

@ -162,7 +162,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_derived_parameters/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_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

@ -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_image_serve/molecule/legacy_vars/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_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_network_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') }}"


+ 3
- 0
tripleo_ansible/roles/tripleo_network_config/molecule/default/prepare.yml View File

@ -17,6 +17,9 @@
- name: Prepare
hosts: all
vars:
test_deps_setup_tripleo: true
test_deps_setup_stream: false
tasks:
- import_role:
name: test_deps


+ 16
- 17
tripleo_ansible/roles/tripleo_nodes_validation/molecule/default/molecule.yml View File

@ -5,33 +5,32 @@ driver:
log: true
platforms:
- name: centos7
hostname: centos7
image: centos:7
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
dockerfile: Dockerfile
pkg_extras: python-setuptools
pkg_extras: python*setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
- /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') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
inventory:
hosts:
all:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
name: ansible
log: true
env:


+ 1
- 0
tripleo_ansible/roles/tripleo_nova_image_cache/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

+ 1
- 0
tripleo_ansible/roles/tripleo_persist/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_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_puppet_cache/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') }}"


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

@ -18,6 +18,7 @@
- name: Prepare
hosts: all
vars:
test_deps_setup_stream: false
required_packages:
- facter
- rsync
@ -25,7 +26,7 @@
- role: test_deps
post_tasks:
- name: Create tripleo repos
command: tripleo-repos current-tripleo
command: tripleo-repos --no-stream current-tripleo
become: true
- name: Install required packages
become: true


+ 1
- 0
tripleo_ansible/roles/tripleo_redhat_enforce/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') }}"


+ 2
- 0
tripleo_ansible/roles/tripleo_redhat_enforce/molecule/default/prepare.yml View File

@ -17,5 +17,7 @@
- name: Prepare
hosts: all
vars:
test_deps_setup_stream: false
roles:
- role: test_deps

+ 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_sshd/molecule/banners/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_sshd/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_systemd_wrapper/molecule/default/molecule.yml View File

@ -18,6 +18,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_timemaster/molecule/defaults/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_timezone/molecule/default/molecule.yml View File

@ -18,6 +18,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

@ -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_validations_package/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') }}"


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

@ -17,9 +17,11 @@
- name: Prepare
hosts: all
vars:
test_deps_setup_stream: false
roles:
- role: test_deps
post_tasks:
- name: Create tripleo repos
command: tripleo-repos current-tripleo
command: tripleo-repos --no-stream current-tripleo
become: true

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

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


+ 2
- 0
zuul.d/molecule.yaml View File

@ -410,6 +410,7 @@
- ^tripleo_ansible/roles/tripleo_ovs_dpdk/.*
name: tripleo-ansible-centos-8-molecule-tripleo_ovs_dpdk
parent: tripleo-ansible-centos-8-base
voting: false
vars:
tripleo_role_name: tripleo_ovs_dpdk
- job:
@ -417,6 +418,7 @@
- ^tripleo_ansible/roles/tripleo_packages/.*
name: tripleo-ansible-centos-8-molecule-tripleo_packages
parent: tripleo-ansible-centos-8-base
voting: false
vars:
tripleo_role_name: tripleo_packages
- job:


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

@ -40,6 +40,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