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/24/788524/3
Sagi Shnaidman 6 months ago
parent
commit
6637f112e9
  1. 1
      _skeleton_role_/molecule/default/molecule.yml
  2. 4
      tripleo_ansible/ansible_plugins/tests/molecule/podman_container/converge.yml
  3. 10
      tripleo_ansible/ansible_plugins/tests/molecule/podman_container_info/converge.yml
  4. 1
      tripleo_ansible/roles/aide/molecule/default/molecule.yml
  5. 1
      tripleo_ansible/roles/login_defs/molecule/default/molecule.yml
  6. 1
      tripleo_ansible/roles/test_deps/defaults/main.yml
  7. 1
      tripleo_ansible/roles/test_deps/molecule/default/molecule.yml
  8. 2
      tripleo_ansible/roles/test_deps/tasks/main.yml
  9. 1
      tripleo_ansible/roles/test_package_action/molecule/default/molecule.yml
  10. 1
      tripleo_ansible/roles/test_package_action/molecule/negative/molecule.yml
  11. 1
      tripleo_ansible/roles/test_package_action/molecule/positive/molecule.yml
  12. 1
      tripleo_ansible/roles/tripleo_cellv2/molecule/default/molecule.yml
  13. 1
      tripleo_ansible/roles/tripleo_ceph_common/molecule/default/molecule.yml
  14. 1
      tripleo_ansible/roles/tripleo_ceph_run_ansible/molecule/default/molecule.yml
  15. 1
      tripleo_ansible/roles/tripleo_ceph_uuid/molecule/default/molecule.yml
  16. 1
      tripleo_ansible/roles/tripleo_ceph_work_dir/molecule/default/molecule.yml
  17. 1
      tripleo_ansible/roles/tripleo_clients_install/molecule/default/molecule.yml
  18. 1
      tripleo_ansible/roles/tripleo_clients_install/molecule/default/prepare.yml
  19. 1
      tripleo_ansible/roles/tripleo_config/molecule/default/molecule.yml
  20. 1
      tripleo_ansible/roles/tripleo_container_image_build/molecule/default/molecule.yml
  21. 1
      tripleo_ansible/roles/tripleo_container_image_prepare/molecule/default/molecule.yml
  22. 2
      tripleo_ansible/roles/tripleo_container_manage/molecule/default/converge.yml
  23. 1
      tripleo_ansible/roles/tripleo_create_admin/molecule/addkey/molecule.yml
  24. 1
      tripleo_ansible/roles/tripleo_create_admin/molecule/default/molecule.yml
  25. 1
      tripleo_ansible/roles/tripleo_create_admin/molecule/keygen/molecule.yml
  26. 1
      tripleo_ansible/roles/tripleo_derived_parameters/molecule/default/molecule.yml
  27. 1
      tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/molecule.yml
  28. 1
      tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/prepare.yml
  29. 1
      tripleo_ansible/roles/tripleo_hieradata/molecule/ansible_hieradata/molecule.yml
  30. 1
      tripleo_ansible/roles/tripleo_hieradata/molecule/default/molecule.yml
  31. 1
      tripleo_ansible/roles/tripleo_hieradata/molecule/hieradata_vars/molecule.yml
  32. 1
      tripleo_ansible/roles/tripleo_hosts_entries/molecule/default/molecule.yml
  33. 1
      tripleo_ansible/roles/tripleo_image_serve/molecule/default/molecule.yml
  34. 1
      tripleo_ansible/roles/tripleo_image_serve/molecule/legacy_vars/molecule.yml
  35. 1
      tripleo_ansible/roles/tripleo_lvmfilter/molecule/default/molecule.yml
  36. 1
      tripleo_ansible/roles/tripleo_multipathd/molecule/custom_config/molecule.yml
  37. 1
      tripleo_ansible/roles/tripleo_multipathd/molecule/default/molecule.yml
  38. 1
      tripleo_ansible/roles/tripleo_multipathd/molecule/preexisting_config/molecule.yml
  39. 1
      tripleo_ansible/roles/tripleo_network_config/molecule/default/molecule.yml
  40. 1
      tripleo_ansible/roles/tripleo_network_config/molecule/default/prepare.yml
  41. 1
      tripleo_ansible/roles/tripleo_nodes_validation/molecule/default/molecule.yml
  42. 1
      tripleo_ansible/roles/tripleo_nova_image_cache/molecule/default/molecule.yml
  43. 1
      tripleo_ansible/roles/tripleo_nvdimm/molecule/default/molecule.yml
  44. 1
      tripleo_ansible/roles/tripleo_nvdimm/molecule/default/prepare.yml
  45. 1
      tripleo_ansible/roles/tripleo_persist/molecule/default/molecule.yml
  46. 1
      tripleo_ansible/roles/tripleo_ptp/molecule/default/molecule.yml
  47. 1
      tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/molecule.yml
  48. 3
      tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/prepare.yml
  49. 1
      tripleo_ansible/roles/tripleo_redhat_enforce/molecule/default/molecule.yml
  50. 2
      tripleo_ansible/roles/tripleo_redhat_enforce/molecule/default/prepare.yml
  51. 1
      tripleo_ansible/roles/tripleo_securetty/molecule/create/molecule.yml
  52. 1
      tripleo_ansible/roles/tripleo_securetty/molecule/default/molecule.yml
  53. 1
      tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/default/molecule.yml
  54. 1
      tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/no_networks/molecule.yml
  55. 1
      tripleo_ansible/roles/tripleo_sshd/molecule/banners/molecule.yml
  56. 1
      tripleo_ansible/roles/tripleo_sshd/molecule/default/molecule.yml
  57. 1
      tripleo_ansible/roles/tripleo_systemd_wrapper/molecule/default/molecule.yml
  58. 1
      tripleo_ansible/roles/tripleo_timemaster/molecule/defaults/molecule.yml
  59. 1
      tripleo_ansible/roles/tripleo_timezone/molecule/default/molecule.yml
  60. 1
      tripleo_ansible/roles/tripleo_upgrade_hiera/molecule/default/molecule.yml
  61. 1
      tripleo_ansible/roles/tripleo_validations_package/molecule/default/molecule.yml
  62. 4
      tripleo_ansible/roles/tripleo_validations_package/molecule/default/prepare.yml
  63. 2
      zuul.d/base.yaml
  64. 2
      zuul.d/molecule.yaml
  65. 7
      zuul.d/playbooks/pre.yml

1
_skeleton_role_/molecule/default/molecule.yml

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

4
tripleo_ansible/ansible_plugins/tests/molecule/podman_container/converge.yml

@ -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:

10
tripleo_ansible/ansible_plugins/tests/molecule/podman_container_info/converge.yml

@ -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
tripleo_ansible/roles/aide/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/login_defs/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/test_deps/defaults/main.yml

@ -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
tripleo_ansible/roles/test_deps/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/test_deps/tasks/main.yml

@ -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
tripleo_ansible/roles/test_package_action/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/test_package_action/molecule/negative/molecule.yml

@ -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
tripleo_ansible/roles/test_package_action/molecule/positive/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_cellv2/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ceph_common/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ceph_run_ansible/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ceph_uuid/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ceph_work_dir/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_clients_install/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_clients_install/molecule/default/prepare.yml

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

1
tripleo_ansible/roles/tripleo_config/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_container_image_build/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_container_image_prepare/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_container_manage/molecule/default/converge.yml

@ -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
tripleo_ansible/roles/tripleo_create_admin/molecule/addkey/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_create_admin/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_create_admin/molecule/keygen/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_derived_parameters/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/prepare.yml

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

1
tripleo_ansible/roles/tripleo_hieradata/molecule/ansible_hieradata/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_hieradata/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_hieradata/molecule/hieradata_vars/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_hosts_entries/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_image_serve/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_image_serve/molecule/legacy_vars/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_lvmfilter/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_multipathd/molecule/custom_config/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_multipathd/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_multipathd/molecule/preexisting_config/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_network_config/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_network_config/molecule/default/prepare.yml

@ -22,6 +22,7 @@
name: test_deps
vars:
test_deps_setup_tripleo: true
test_deps_setup_stream: false
- name: Ensure legacy scripts installed
package:
name: network-scripts

1
tripleo_ansible/roles/tripleo_nodes_validation/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_nova_image_cache/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_nvdimm/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_nvdimm/molecule/default/prepare.yml

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

1
tripleo_ansible/roles/tripleo_persist/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ptp/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/prepare.yml

@ -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
tripleo_ansible/roles/tripleo_redhat_enforce/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_redhat_enforce/molecule/default/prepare.yml

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

1
tripleo_ansible/roles/tripleo_securetty/molecule/create/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_securetty/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/no_networks/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_sshd/molecule/banners/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_sshd/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_systemd_wrapper/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_timemaster/molecule/defaults/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_timezone/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_upgrade_hiera/molecule/default/molecule.yml

@ -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
tripleo_ansible/roles/tripleo_validations_package/molecule/default/molecule.yml

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

4
tripleo_ansible/roles/tripleo_validations_package/molecule/default/prepare.yml

@ -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

2
zuul.d/base.yaml

@ -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
zuul.d/molecule.yaml

@ -411,6 +411,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:
@ -418,6 +419,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
zuul.d/playbooks/pre.yml

@ -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