Browse Source

Use CI mirrors for molecule jobs

Mount mirrors file into molecule containers if docker driver is
used, otherwise use hosts mirrors file.

Change-Id: I179004fde7587a81eb87f3cc477870b4b48bd83e
changes/08/708808/4
Sagi Shnaidman 3 years ago
parent
commit
dcf8c98fb9
  1. 4
      tripleo_ansible/roles/aide/molecule/default/molecule.yml
  2. 4
      tripleo_ansible/roles/login_defs/molecule/default/molecule.yml
  3. 1
      tripleo_ansible/roles/test_deps/defaults/main.yml
  4. 4
      tripleo_ansible/roles/test_deps/molecule/default/molecule.yml
  5. 35
      tripleo_ansible/roles/test_deps/tasks/main.yml
  6. 4
      tripleo_ansible/roles/test_package_action/molecule/default/molecule.yml
  7. 4
      tripleo_ansible/roles/test_package_action/molecule/negative/molecule.yml
  8. 4
      tripleo_ansible/roles/test_package_action/molecule/positive/molecule.yml
  9. 2
      tripleo_ansible/roles/tripleo_bootstrap/molecule/default/molecule.yml
  10. 4
      tripleo_ansible/roles/tripleo_cellv2/molecule/default/molecule.yml
  11. 4
      tripleo_ansible/roles/tripleo_ceph_common/molecule/default/molecule.yml
  12. 4
      tripleo_ansible/roles/tripleo_ceph_fetch_dir/molecule/default/molecule.yml
  13. 4
      tripleo_ansible/roles/tripleo_ceph_run_ansible/molecule/default/molecule.yml
  14. 4
      tripleo_ansible/roles/tripleo_ceph_uuid/molecule/default/molecule.yml
  15. 4
      tripleo_ansible/roles/tripleo_ceph_work_dir/molecule/default/molecule.yml
  16. 4
      tripleo_ansible/roles/tripleo_clients_install/molecule/default/molecule.yml
  17. 4
      tripleo_ansible/roles/tripleo_config/molecule/default/molecule.yml
  18. 4
      tripleo_ansible/roles/tripleo_container_image_prepare/molecule/default/molecule.yml
  19. 4
      tripleo_ansible/roles/tripleo_create_admin/molecule/addkey/molecule.yml
  20. 4
      tripleo_ansible/roles/tripleo_create_admin/molecule/default/molecule.yml
  21. 4
      tripleo_ansible/roles/tripleo_create_admin/molecule/keygen/molecule.yml
  22. 4
      tripleo_ansible/roles/tripleo_hieradata/molecule/default/molecule.yml
  23. 4
      tripleo_ansible/roles/tripleo_hieradata/molecule/hieradata_vars/molecule.yml
  24. 4
      tripleo_ansible/roles/tripleo_hosts_entries/molecule/default/molecule.yml
  25. 2
      tripleo_ansible/roles/tripleo_image_serve/molecule/default/molecule.yml
  26. 2
      tripleo_ansible/roles/tripleo_image_serve/molecule/legacy_vars/molecule.yml
  27. 2
      tripleo_ansible/roles/tripleo_keystone_resources/molecule/default/molecule.yml
  28. 4
      tripleo_ansible/roles/tripleo_nova_image_cache/molecule/default/molecule.yml
  29. 2
      tripleo_ansible/roles/tripleo_ovs_dpdk/molecule/default/molecule.yml
  30. 2
      tripleo_ansible/roles/tripleo_ovs_dpdk/molecule/positive/molecule.yml
  31. 2
      tripleo_ansible/roles/tripleo_packages/molecule/default/molecule.yml
  32. 2
      tripleo_ansible/roles/tripleo_packages/molecule/external_upgrade/molecule.yml
  33. 2
      tripleo_ansible/roles/tripleo_packages/molecule/ffu/molecule.yml
  34. 1
      tripleo_ansible/roles/tripleo_packages/molecule/update/molecule.yml
  35. 1
      tripleo_ansible/roles/tripleo_packages/molecule/upgrade/molecule.yml
  36. 4
      tripleo_ansible/roles/tripleo_persist/molecule/default/molecule.yml
  37. 2
      tripleo_ansible/roles/tripleo_ptp/molecule/default/molecule.yml
  38. 1
      tripleo_ansible/roles/tripleo_ptp/molecule/ntp_stop/molecule.yml
  39. 4
      tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/molecule.yml
  40. 4
      tripleo_ansible/roles/tripleo_securetty/molecule/create/molecule.yml
  41. 4
      tripleo_ansible/roles/tripleo_securetty/molecule/default/molecule.yml
  42. 4
      tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/default/molecule.yml
  43. 4
      tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/no_networks/molecule.yml
  44. 2
      tripleo_ansible/roles/tripleo_sshd/molecule/banners/molecule.yml
  45. 2
      tripleo_ansible/roles/tripleo_sshd/molecule/default/molecule.yml
  46. 2
      tripleo_ansible/roles/tripleo_systemd_wrapper/molecule/default/molecule.yml
  47. 2
      tripleo_ansible/roles/tripleo_timezone/molecule/default/molecule.yml
  48. 2
      tripleo_ansible/roles/tripleo_transfer/molecule/default/molecule.yml
  49. 4
      tripleo_ansible/roles/tripleo_upgrade_hiera/molecule/default/molecule.yml
  50. 4
      tripleo_ansible/roles/tripleo_validations_package/molecule/default/molecule.yml
  51. 2
      tripleo_ansible/roles/tuned/molecule/default/molecule.yml
  52. 2
      tripleo_ansible/roles/tuned/molecule/isolated/molecule.yml

4
tripleo_ansible/roles/aide/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/login_defs/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

1
tripleo_ansible/roles/test_deps/defaults/main.yml vendored

@ -18,3 +18,4 @@
test_deps_extra_packages: []
test_deps_setup_tripleo: false
test_deps_repo_version: "{{ ansible_distribution | lower }}{{ ansible_distribution_major_version }}-master"
test_deps_mirrors_file_path: /etc/ci/mirror_info.sh

4
tripleo_ansible/roles/test_deps/molecule/default/molecule.yml vendored

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

35
tripleo_ansible/roles/test_deps/tasks/main.yml vendored

@ -31,6 +31,37 @@
tags:
- always
- name: Detect mirrors file
stat:
path: "{{ test_deps_mirrors_file_path }}"
register: mirrors_file
- when: mirrors_file.stat.exists
block:
- name: Discover mirror for RDO if exists
shell: |
source {{ test_deps_mirrors_file_path }}
echo $NODEPOOL_RDO_PROXY
register: rdo_mirror_proxy
changed_when: false
- name: Set fact for the mirror with proxy
set_fact:
rdo_mirror: "{{ rdo_mirror_proxy.stdout|default('https://trunk.rdoproject.org', true) }}"
- name: Set fact for the mirror without proxy
set_fact:
rdo_mirror: 'https://trunk.rdoproject.org'
when: not mirrors_file.stat.exists
- name: Print used mirror
debug: var=rdo_mirror
- name: Set test_deps_repo
set_fact:
test_deps_repo: "{{ test_deps_repo.replace('https://trunk.rdoproject.org', rdo_mirror) }}"
- name: RHEL Block
become: true
when:
@ -38,12 +69,12 @@
block:
- name: install deplorean repo
get_url:
url: "https://trunk.rdoproject.org/{{ test_deps_repo_version }}/current-tripleo/delorean.repo"
url: "{{ rdo_mirror }}/{{ test_deps_repo_version }}/current-tripleo/delorean.repo"
dest: /etc/yum.repos.d/delorean.repo
- name: install deplorean-deps repo
get_url:
url: "https://trunk.rdoproject.org/{{ test_deps_repo_version }}/delorean-deps.repo"
url: "{{ rdo_mirror }}/{{ test_deps_repo_version }}/delorean-deps.repo"
dest: /etc/yum.repos.d/delorean-deps.repo
- include_tasks: tripleo-setup.yml

4
tripleo_ansible/roles/test_package_action/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/test_package_action/molecule/negative/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/test_package_action/molecule/positive/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

2
tripleo_ansible/roles/tripleo_bootstrap/molecule/default/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

4
tripleo_ansible/roles/tripleo_cellv2/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_ceph_common/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_ceph_fetch_dir/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_ceph_run_ansible/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_ceph_uuid/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_ceph_work_dir/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_clients_install/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

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

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_container_image_prepare/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_create_admin/molecule/addkey/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_create_admin/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_create_admin/molecule/keygen/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_hieradata/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_hieradata/molecule/hieradata_vars/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_hosts_entries/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

2
tripleo_ansible/roles/tripleo_image_serve/molecule/default/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_image_serve/molecule/legacy_vars/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_keystone_resources/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
network_mode: host
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env

4
tripleo_ansible/roles/tripleo_nova_image_cache/molecule/default/molecule.yml vendored

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

2
tripleo_ansible/roles/tripleo_ovs_dpdk/molecule/default/molecule.yml

@ -25,6 +25,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -44,6 +45,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_ovs_dpdk/molecule/positive/molecule.yml

@ -25,6 +25,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -44,6 +45,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_packages/molecule/default/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_packages/molecule/external_upgrade/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_packages/molecule/ffu/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

1
tripleo_ansible/roles/tripleo_packages/molecule/update/molecule.yml

@ -28,6 +28,7 @@ platforms:
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
# TODO(cloudnull): when RDO has centos8 repos this test node should be re-enabled.
#

1
tripleo_ansible/roles/tripleo_packages/molecule/upgrade/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /dev:/dev
- /lib/modules:/lib/modules
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
# TODO(cloudnull): when RDO has centos8 repos this test node should be re-enabled.
#

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

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

2
tripleo_ansible/roles/tripleo_ptp/molecule/default/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

1
tripleo_ansible/roles/tripleo_ptp/molecule/ntp_stop/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

4
tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/molecule.yml vendored

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

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

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_securetty/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

4
tripleo_ansible/roles/tripleo_ssh_known_hosts/molecule/no_networks/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

2
tripleo_ansible/roles/tripleo_sshd/molecule/banners/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_sshd/molecule/default/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_systemd_wrapper/molecule/default/molecule.yml

@ -21,6 +21,7 @@ platforms:
- SYS_ADMIN
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -35,6 +36,7 @@ platforms:
- SYS_ADMIN
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_timezone/molecule/default/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tripleo_transfer/molecule/default/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: overcloud-controller-1
hostname: overcloud-controller-1
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

4
tripleo_ansible/roles/tripleo_upgrade_hiera/molecule/default/molecule.yml

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

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

@ -10,6 +10,8 @@ platforms:
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
@ -21,6 +23,8 @@ platforms:
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

2
tripleo_ansible/roles/tuned/molecule/default/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

2
tripleo_ansible/roles/tuned/molecule/isolated/molecule.yml

@ -24,6 +24,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- name: centos8
hostname: centos8
@ -43,6 +44,7 @@ platforms:
volumes:
- /run/udev:/run/udev:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
provisioner:
name: ansible

Loading…
Cancel
Save