Browse Source

Convert all of the fedora28 container usage to CentOS8

This change moves all of the fedora28 container images to centos8 to
ensure we're maximizing coverage in all of our roles with OS images that
represent real deployments. While fedora28 was useful to exercise RHEL8
code path's while there was no RHEL/CentOS8 container image, we can now
use the upstream CentOS8 image ensuring we're getting a true,
representative, environment.

The following molecule test has been moved to non-voting as it is
facing some issues. A follow up patch will try to fix them ASAP.

- check_network_gateway (facing an issue when Ansible is trying to
  discover the python interpreter used in CentOS8 Docker Image)

Related-Bug: #1894882
Change-Id: I02f68b78fdf73a60443d8ea5d2dcb46e5ad67e25
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
(cherry picked from commit 4fc31e06dc)
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
changes/97/750597/3
Gael Chamoulaud (Strider) 6 months ago
parent
commit
4db92ba2ca
No known key found for this signature in database GPG Key ID: 4119D0305C651D66
100 changed files with 367 additions and 320 deletions
  1. +1
    -1
      _skeleton_role_/molecule/default/Dockerfile.j2
  2. +0
    -0
      _skeleton_role_/molecule/default/converge.yml.j2
  3. +7
    -8
      _skeleton_role_/molecule/default/molecule.yml
  4. +1
    -1
      doc/source/_exts/ansible-autodoc.py
  5. +6
    -3
      molecule-requirements.txt
  6. +1
    -1
      roles/advanced_format_512e_support/molecule/default/Dockerfile.j2
  7. +0
    -0
      roles/advanced_format_512e_support/molecule/default/converge.yml
  8. +8
    -9
      roles/advanced_format_512e_support/molecule/default/molecule.yml
  9. +1
    -1
      roles/ceilometerdb_size/molecule/default/Dockerfile.j2
  10. +0
    -0
      roles/ceilometerdb_size/molecule/default/converge.yml
  11. +8
    -9
      roles/ceilometerdb_size/molecule/default/molecule.yml
  12. +1
    -1
      roles/ceph/molecule/ceph-ansible-installed/Dockerfile
  13. +0
    -0
      roles/ceph/molecule/ceph-ansible-installed/converge.yml
  14. +10
    -9
      roles/ceph/molecule/ceph-ansible-installed/molecule.yml
  15. +2
    -1
      roles/ceph/molecule/default/Dockerfile
  16. +0
    -0
      roles/ceph/molecule/default/converge.yml
  17. +4
    -9
      roles/ceph/molecule/default/molecule.yml
  18. +1
    -1
      roles/check_latest_packages_version/molecule/default/Dockerfile.j2
  19. +0
    -0
      roles/check_latest_packages_version/molecule/default/converge.yml
  20. +8
    -9
      roles/check_latest_packages_version/molecule/default/molecule.yml
  21. +37
    -0
      roles/check_network_gateway/molecule/default/Dockerfile
  22. +0
    -0
      roles/check_network_gateway/molecule/default/converge.yml
  23. +8
    -9
      roles/check_network_gateway/molecule/default/molecule.yml
  24. +1
    -1
      roles/collect_flavors_and_verify_profiles/molecule/default/Dockerfile.j2
  25. +0
    -0
      roles/collect_flavors_and_verify_profiles/molecule/default/converge.yml
  26. +8
    -9
      roles/collect_flavors_and_verify_profiles/molecule/default/molecule.yml
  27. +1
    -1
      roles/container_status/molecule/default/Dockerfile.j2
  28. +0
    -0
      roles/container_status/molecule/default/converge.yml
  29. +8
    -9
      roles/container_status/molecule/default/molecule.yml
  30. +1
    -1
      roles/controller_token/molecule/default/Dockerfile.j2
  31. +0
    -0
      roles/controller_token/molecule/default/converge.yml
  32. +8
    -9
      roles/controller_token/molecule/default/molecule.yml
  33. +1
    -1
      roles/controller_ulimits/molecule/default/Dockerfile.j2
  34. +0
    -0
      roles/controller_ulimits/molecule/default/converge.yml
  35. +7
    -8
      roles/controller_ulimits/molecule/default/molecule.yml
  36. +1
    -1
      roles/ctlplane_ip_range/molecule/default/Dockerfile.j2
  37. +0
    -0
      roles/ctlplane_ip_range/molecule/default/converge.yml
  38. +8
    -9
      roles/ctlplane_ip_range/molecule/default/molecule.yml
  39. +1
    -1
      roles/dhcp_validations/molecule/default/Dockerfile.j2
  40. +0
    -0
      roles/dhcp_validations/molecule/default/converge.yml
  41. +8
    -9
      roles/dhcp_validations/molecule/default/molecule.yml
  42. +1
    -1
      roles/dns/molecule/default/Dockerfile.j2
  43. +0
    -0
      roles/dns/molecule/default/converge.yml
  44. +7
    -8
      roles/dns/molecule/default/molecule.yml
  45. +37
    -0
      roles/haproxy/molecule/default/Dockerfile
  46. +0
    -0
      roles/haproxy/molecule/default/converge.yml
  47. +10
    -9
      roles/haproxy/molecule/default/molecule.yml
  48. +1
    -1
      roles/healthcheck_service_status/molecule/default/Dockerfile.j2
  49. +0
    -0
      roles/healthcheck_service_status/molecule/default/converge.yml
  50. +8
    -9
      roles/healthcheck_service_status/molecule/default/molecule.yml
  51. +1
    -1
      roles/image_serve/molecule/default/Dockerfile.j2
  52. +0
    -0
      roles/image_serve/molecule/default/converge.yml
  53. +8
    -9
      roles/image_serve/molecule/default/molecule.yml
  54. +1
    -1
      roles/ironic_boot_configuration/molecule/default/Dockerfile.j2
  55. +0
    -0
      roles/ironic_boot_configuration/molecule/default/converge.yml
  56. +8
    -9
      roles/ironic_boot_configuration/molecule/default/molecule.yml
  57. +1
    -1
      roles/mysql_open_files_limit/molecule/default/Dockerfile.j2
  58. +0
    -0
      roles/mysql_open_files_limit/molecule/default/converge.yml
  59. +8
    -9
      roles/mysql_open_files_limit/molecule/default/molecule.yml
  60. +1
    -1
      roles/network_environment/molecule/default/Dockerfile.j2
  61. +0
    -0
      roles/network_environment/molecule/default/converge.yml
  62. +8
    -9
      roles/network_environment/molecule/default/molecule.yml
  63. +1
    -1
      roles/neutron_sanity_check/molecule/default/Dockerfile.j2
  64. +0
    -0
      roles/neutron_sanity_check/molecule/default/converge.yml
  65. +8
    -9
      roles/neutron_sanity_check/molecule/default/molecule.yml
  66. +1
    -1
      roles/no_op_firewall_nova_driver/molecule/default/Dockerfile.j2
  67. +0
    -0
      roles/no_op_firewall_nova_driver/molecule/default/converge.yml
  68. +10
    -10
      roles/no_op_firewall_nova_driver/molecule/default/molecule.yml
  69. +1
    -1
      roles/node_disks/molecule/default/Dockerfile.j2
  70. +0
    -0
      roles/node_disks/molecule/default/converge.yml
  71. +8
    -9
      roles/node_disks/molecule/default/molecule.yml
  72. +1
    -1
      roles/node_health/molecule/default/Dockerfile.j2
  73. +0
    -0
      roles/node_health/molecule/default/converge.yml
  74. +8
    -9
      roles/node_health/molecule/default/molecule.yml
  75. +1
    -1
      roles/nova_event_callback/molecule/default/Dockerfile.j2
  76. +0
    -0
      roles/nova_event_callback/molecule/default/converge.yml
  77. +8
    -9
      roles/nova_event_callback/molecule/default/molecule.yml
  78. +1
    -1
      roles/nova_status/molecule/default/Dockerfile.j2
  79. +0
    -0
      roles/nova_status/molecule/default/converge.yml
  80. +8
    -9
      roles/nova_status/molecule/default/molecule.yml
  81. +1
    -1
      roles/ntp/molecule/default/Dockerfile.j2
  82. +0
    -0
      roles/ntp/molecule/default/converge.yml
  83. +8
    -9
      roles/ntp/molecule/default/molecule.yml
  84. +1
    -1
      roles/openshift_on_openstack/molecule/default/Dockerfile.j2
  85. +0
    -0
      roles/openshift_on_openstack/molecule/default/converge.yml
  86. +8
    -9
      roles/openshift_on_openstack/molecule/default/molecule.yml
  87. +1
    -1
      roles/openstack_endpoints/molecule/default/Dockerfile.j2
  88. +0
    -0
      roles/openstack_endpoints/molecule/default/converge.yml
  89. +8
    -9
      roles/openstack_endpoints/molecule/default/molecule.yml
  90. +1
    -1
      roles/ovs_dpdk_pmd/molecule/default/Dockerfile.j2
  91. +0
    -0
      roles/ovs_dpdk_pmd/molecule/default/converge.yml
  92. +8
    -9
      roles/ovs_dpdk_pmd/molecule/default/molecule.yml
  93. +1
    -1
      roles/pacemaker_status/molecule/default/Dockerfile.j2
  94. +0
    -0
      roles/pacemaker_status/molecule/default/converge.yml
  95. +8
    -9
      roles/pacemaker_status/molecule/default/molecule.yml
  96. +1
    -1
      roles/rabbitmq_limits/molecule/default/Dockerfile.j2
  97. +0
    -0
      roles/rabbitmq_limits/molecule/default/converge.yml
  98. +7
    -8
      roles/rabbitmq_limits/molecule/default/molecule.yml
  99. +1
    -1
      roles/repos/molecule/default/Dockerfile.j2
  100. +0
    -0
      roles/repos/molecule/default/converge.yml

+ 1
- 1
_skeleton_role_/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


_skeleton_role_/molecule/default/playbook.yml.j2 → _skeleton_role_/molecule/default/converge.yml.j2 View File


+ 7
- 8
_skeleton_role_/molecule/default/molecule.yml View File

@@ -10,17 +10,21 @@ 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
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
- 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

@@ -40,10 +44,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
doc/source/_exts/ansible-autodoc.py View File

@@ -247,7 +247,7 @@ class AnsibleAutoPluginDirective(Directive):
molecule_playbook_path = os.path.join(
molecule_path,
test,
'playbook.yml'
'converge.yml'
)
with open(molecule_playbook_path) as f:
molecule_playbook = yaml.safe_load(f.read())


+ 6
- 3
molecule-requirements.txt View File

@@ -1,11 +1,14 @@
# this is required for the molecule jobs
ansible
ansi2html
ansible
docker
# https://github.com/sqlalchemy/dogpile.cache/issues/178
dogpile.cache>=0.6.5,<0.9.1 # MIT
jinja2>=2.8.0,<3
mock
molecule>=3.0,<3.1
pytest
pytest-cov
pytest-html
pytest-xdist
mock
molecule>=2.22rc1,<3
selinux # MIT

+ 1
- 1
roles/advanced_format_512e_support/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/advanced_format_512e_support/molecule/default/playbook.yml → roles/advanced_format_512e_support/molecule/default/converge.yml View File


+ 8
- 9
roles/advanced_format_512e_support/molecule/default/molecule.yml View File

@@ -11,14 +11,18 @@ platforms:
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/ceilometerdb_size/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/ceilometerdb_size/molecule/default/playbook.yml → roles/ceilometerdb_size/molecule/default/converge.yml View File


+ 8
- 9
roles/ceilometerdb_size/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

roles/ceph/molecule/ceph-ansible-installed/Dockerfile.j2 → roles/ceph/molecule/ceph-ansible-installed/Dockerfile View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \

roles/ceph/molecule/ceph-ansible-installed/playbook.yml → roles/ceph/molecule/ceph-ansible-installed/converge.yml View File


+ 10
- 9
roles/ceph/molecule/ceph-ansible-installed/molecule.yml View File

@@ -8,17 +8,23 @@ platforms:
- name: centos7
hostname: centos7
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -39,10 +45,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

roles/haproxy/molecule/default/Dockerfile.j2 → roles/ceph/molecule/default/Dockerfile View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \
@@ -33,4 +33,5 @@ RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y pyth
RUN easy_install {{ pkg }}
{% endfor %}


CMD ["sh", "-c", "while true; do sleep 10000; done"]

roles/ceph/molecule/default/playbook.yml → roles/ceph/molecule/default/converge.yml View File


+ 4
- 9
roles/ceph/molecule/default/molecule.yml View File

@@ -15,10 +15,10 @@ platforms:
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
environment:
<<: *env

@@ -38,10 +38,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/check_latest_packages_version/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/check_latest_packages_version/molecule/default/playbook.yml → roles/check_latest_packages_version/molecule/default/converge.yml View File


+ 8
- 9
roles/check_latest_packages_version/molecule/default/molecule.yml View File

@@ -11,14 +11,18 @@ platforms:
pkg_extras: python-setuptools PyYAML
easy_install:
- pip
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 37
- 0
roles/check_network_gateway/molecule/default/Dockerfile View File

@@ -0,0 +1,37 @@
# Molecule managed
# Copyright 2019 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.


{% if item.registry is defined %}
FROM {{ item.registry.url }}/{{ item.image }}
{% else %}
FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \
elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates {{ item.pkg_extras | default('') }} && xbps-remove -O; fi

{% for pkg in item.easy_install | default([]) %}
# install pip for centos where there is no python-pip rpm in default repos
RUN easy_install {{ pkg }}
{% endfor %}


CMD ["sh", "-c", "while true; do sleep 10000; done"]

roles/check_network_gateway/molecule/default/playbook.yml → roles/check_network_gateway/molecule/default/converge.yml View File


+ 8
- 9
roles/check_network_gateway/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr epel-release ruby PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby iputils PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby epel-release iputils python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/collect_flavors_and_verify_profiles/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/collect_flavors_and_verify_profiles/molecule/default/playbook.yml → roles/collect_flavors_and_verify_profiles/molecule/default/converge.yml View File


+ 8
- 9
roles/collect_flavors_and_verify_profiles/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/container_status/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/container_status/molecule/default/playbook.yml → roles/container_status/molecule/default/converge.yml View File


+ 8
- 9
roles/container_status/molecule/default/molecule.yml View File

@@ -11,14 +11,18 @@ platforms:
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/controller_token/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/controller_token/molecule/default/playbook.yml → roles/controller_token/molecule/default/converge.yml View File


+ 8
- 9
roles/controller_token/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/controller_ulimits/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/controller_ulimits/molecule/default/playbook.yml → roles/controller_ulimits/molecule/default/converge.yml View File


+ 7
- 8
roles/controller_ulimits/molecule/default/molecule.yml View File

@@ -11,17 +11,21 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
- name: centos8
ulimits: *ulimits
hostname: fedora28
image: fedora:28
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -40,10 +44,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/ctlplane_ip_range/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/ctlplane_ip_range/molecule/default/playbook.yml → roles/ctlplane_ip_range/molecule/default/converge.yml View File


+ 8
- 9
roles/ctlplane_ip_range/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby epel-release python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/dhcp_validations/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/dhcp_validations/molecule/default/playbook.yml → roles/dhcp_validations/molecule/default/converge.yml View File


+ 8
- 9
roles/dhcp_validations/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/dns/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/dns/molecule/default/playbook.yml → roles/dns/molecule/default/converge.yml View File


+ 7
- 8
roles/dns/molecule/default/molecule.yml View File

@@ -11,14 +11,18 @@ platforms:
pkg_extras: python-setuptools
easy_install:
- pip
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -37,10 +41,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 37
- 0
roles/haproxy/molecule/default/Dockerfile View File

@@ -0,0 +1,37 @@
# Molecule managed
# Copyright 2019 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.


{% if item.registry is defined %}
FROM {{ item.registry.url }}/{{ item.image }}
{% else %}
FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \
elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates {{ item.pkg_extras | default('') }} && xbps-remove -O; fi

{% for pkg in item.easy_install | default([]) %}
# install pip for centos where there is no python-pip rpm in default repos
RUN easy_install {{ pkg }}
{% endfor %}


CMD ["sh", "-c", "while true; do sleep 10000; done"]

roles/haproxy/molecule/default/playbook.yml → roles/haproxy/molecule/default/converge.yml View File


+ 10
- 9
roles/haproxy/molecule/default/molecule.yml View File

@@ -8,17 +8,23 @@ platforms:
- name: centos7
hostname: centos7
image: centos:7
dockerfile: Dockerfile
pkg_extras: python-setuptools haproxy PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools haproxy PyYAML
- name: centos8
hostname: centos8
image: centos:8
dockerfile: Dockerfile
pkg_extras: python*-setuptools haproxy python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +44,5 @@ scenario:
- verify
- destroy

lint:
enabled: true

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/healthcheck_service_status/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/healthcheck_service_status/molecule/default/playbook.yml → roles/healthcheck_service_status/molecule/default/converge.yml View File


+ 8
- 9
roles/healthcheck_service_status/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/image_serve/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/image_serve/molecule/default/playbook.yml → roles/image_serve/molecule/default/converge.yml View File


+ 8
- 9
roles/image_serve/molecule/default/molecule.yml View File

@@ -11,18 +11,22 @@ platforms:
override_command: true
command: python -m SimpleHTTPServer 8787
pkg_extras: python-setuptools python-enum34 python-netaddr epel-release ruby PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
- name: centos8
hostname: centos8
image: centos:8
override_command: true
command: python3 -m http.server 8787
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby epel-release python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -42,10 +46,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/ironic_boot_configuration/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/ironic_boot_configuration/molecule/default/playbook.yml → roles/ironic_boot_configuration/molecule/default/converge.yml View File


+ 8
- 9
roles/ironic_boot_configuration/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/mysql_open_files_limit/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/mysql_open_files_limit/molecule/default/playbook.yml → roles/mysql_open_files_limit/molecule/default/converge.yml View File


+ 8
- 9
roles/mysql_open_files_limit/molecule/default/molecule.yml View File

@@ -11,14 +11,18 @@ platforms:
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/network_environment/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/network_environment/molecule/default/playbook.yml → roles/network_environment/molecule/default/converge.yml View File


+ 8
- 9
roles/network_environment/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/neutron_sanity_check/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/neutron_sanity_check/molecule/default/playbook.yml → roles/neutron_sanity_check/molecule/default/converge.yml View File


+ 8
- 9
roles/neutron_sanity_check/molecule/default/molecule.yml View File

@@ -11,14 +11,18 @@ platforms:
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/no_op_firewall_nova_driver/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/no_op_firewall_nova_driver/molecule/default/playbook.yml → roles/no_op_firewall_nova_driver/molecule/default/converge.yml View File


+ 10
- 10
roles/no_op_firewall_nova_driver/molecule/default/molecule.yml View File

@@ -8,17 +8,22 @@ platforms:
- name: centos7
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 PyYAML
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum PyYAML
- name: centos8
hostname: centos8
image: centos:8
command: /sbin/init
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +43,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/node_disks/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/node_disks/molecule/default/playbook.yml → roles/node_disks/molecule/default/converge.yml View File


+ 8
- 9
roles/node_disks/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/node_health/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/node_health/molecule/default/playbook.yml → roles/node_health/molecule/default/converge.yml View File


+ 8
- 9
roles/node_health/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/nova_event_callback/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/nova_event_callback/molecule/default/playbook.yml → roles/nova_event_callback/molecule/default/converge.yml View File


+ 8
- 9
roles/nova_event_callback/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/nova_status/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/nova_status/molecule/default/playbook.yml → roles/nova_status/molecule/default/converge.yml View File


+ 8
- 9
roles/nova_status/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/ntp/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/ntp/molecule/default/playbook.yml → roles/ntp/molecule/default/converge.yml View File


+ 8
- 9
roles/ntp/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/openshift_on_openstack/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/openshift_on_openstack/molecule/default/playbook.yml → roles/openshift_on_openstack/molecule/default/converge.yml View File


+ 8
- 9
roles/openshift_on_openstack/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/openstack_endpoints/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/openstack_endpoints/molecule/default/playbook.yml → roles/openstack_endpoints/molecule/default/converge.yml View File


+ 8
- 9
roles/openstack_endpoints/molecule/default/molecule.yml View File

@@ -11,14 +11,18 @@ platforms:
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/ovs_dpdk_pmd/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/ovs_dpdk_pmd/molecule/default/playbook.yml → roles/ovs_dpdk_pmd/molecule/default/converge.yml View File


+ 8
- 9
roles/ovs_dpdk_pmd/molecule/default/molecule.yml View File

@@ -11,14 +11,18 @@ platforms:
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
easy_install:
- pip
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/pacemaker_status/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/pacemaker_status/molecule/default/playbook.yml → roles/pacemaker_status/molecule/default/converge.yml View File


+ 8
- 9
roles/pacemaker_status/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools python-enum34 python-netaddr ruby epel-release PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
pkg_extras: python*-setuptools python*-enum python*-netaddr ruby PyYAML
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/rabbitmq_limits/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/rabbitmq_limits/molecule/default/playbook.yml → roles/rabbitmq_limits/molecule/default/converge.yml View File


+ 7
- 8
roles/rabbitmq_limits/molecule/default/molecule.yml View File

@@ -9,16 +9,20 @@ platforms:
hostname: centos7
image: centos:7
pkg_extras: python-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
easy_install:
- pip
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"

- name: fedora28
hostname: fedora28
image: fedora:28
- name: centos8
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env

@@ -38,10 +42,5 @@ scenario:
- verify
- destroy

lint:
enabled: false

verifier:
name: testinfra
lint:
name: flake8

+ 1
- 1
roles/repos/molecule/default/Dockerfile.j2 View File

@@ -22,7 +22,7 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install sudo python*-devel python*-dnf bash {{ item.pkg_extras | default('') }} && dnf clean all; \
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl python-setuptools bash {{ item.pkg_extras | default('') }} && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml {{ item.pkg_extras | default('') }} && zypper clean -a; \
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates {{ item.pkg_extras | default('') }}; \


roles/repos/molecule/default/playbook.yml → roles/repos/molecule/default/converge.yml View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save