Browse Source

Convert docker molecule usage to podman

This change updates all uses of docker to podman and removes our docker
installation process from zuul and our local test process.

Change-Id: Idc4d4b0ab2557814d5aa2c543e4b7c546624b776
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
changes/45/756545/12
Gael Chamoulaud (Strider) 2 years ago
parent
commit
972b03943f
  1. 5
      _skeleton_role_/molecule/default/molecule.yml
  2. 1
      bindep.txt
  3. 3
      ci/playbooks/pre.yml
  4. 1
      molecule-requirements.txt
  5. 5
      roles/ceilometerdb_size/molecule/default/molecule.yml
  6. 5
      roles/ceph/molecule/ceph-ansible-installed/molecule.yml
  7. 5
      roles/ceph/molecule/default/molecule.yml
  8. 4
      roles/check_kernel_version/molecule/default/molecule.yml
  9. 5
      roles/check_network_gateway/molecule/default/molecule.yml
  10. 5
      roles/collect_flavors_and_verify_profiles/molecule/default/molecule.yml
  11. 5
      roles/container_status/molecule/default/molecule.yml
  12. 5
      roles/controller_token/molecule/default/molecule.yml
  13. 24
      roles/controller_ulimits/molecule/default/converge.yml
  14. 10
      roles/controller_ulimits/molecule/default/molecule.yml
  15. 5
      roles/ctlplane_ip_range/molecule/default/molecule.yml
  16. 5
      roles/dhcp_validations/molecule/default/molecule.yml
  17. 5
      roles/healthcheck_service_status/molecule/default/molecule.yml
  18. 5
      roles/image_serve/molecule/default/molecule.yml
  19. 5
      roles/ironic_boot_configuration/molecule/default/molecule.yml
  20. 5
      roles/mysql_open_files_limit/molecule/default/molecule.yml
  21. 5
      roles/network_environment/molecule/default/molecule.yml
  22. 5
      roles/neutron_sanity_check/molecule/default/molecule.yml
  23. 5
      roles/node_disks/molecule/default/molecule.yml
  24. 5
      roles/node_health/molecule/default/molecule.yml
  25. 5
      roles/nova_event_callback/molecule/default/molecule.yml
  26. 5
      roles/nova_status/molecule/default/molecule.yml
  27. 5
      roles/nova_svirt/molecule/default/molecule.yml
  28. 5
      roles/openshift_on_openstack/molecule/default/molecule.yml
  29. 5
      roles/openstack_endpoints/molecule/default/molecule.yml
  30. 5
      roles/ovs_dpdk_pmd/molecule/default/molecule.yml
  31. 5
      roles/pacemaker_status/molecule/default/molecule.yml
  32. 5
      roles/package_version/molecule/default/molecule.yml
  33. 5
      roles/rabbitmq_limits/molecule/default/molecule.yml
  34. 5
      roles/repos/molecule/default/molecule.yml
  35. 5
      roles/stack_health/molecule/default/molecule.yml
  36. 5
      roles/stonith_exists/molecule/default/molecule.yml
  37. 5
      roles/switch_vlans/molecule/default/molecule.yml
  38. 5
      roles/system_encoding/molecule/default/molecule.yml
  39. 5
      roles/tls_everywhere/molecule/default/molecule.yml
  40. 5
      roles/undercloud_debug/molecule/default/molecule.yml
  41. 5
      roles/undercloud_disk_space/molecule/default/molecule.yml
  42. 5
      roles/undercloud_heat_purge_deleted/molecule/default/molecule.yml
  43. 5
      roles/undercloud_process_count/molecule/default/molecule.yml
  44. 5
      roles/undercloud_tokenflush/molecule/default/molecule.yml
  45. 5
      roles/undercloud_tokenflush/molecule/non-persistent-token-format/molecule.yml
  46. 4
      scripts/run-local-test
  47. 8
      tools/test-setup.sh

5
_skeleton_role_/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -17,6 +17,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -27,6 +29,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: &ulimit
provisioner:
name: ansible

1
bindep.txt

@ -25,6 +25,7 @@ libxslt-devel [platform:rpm]
libxslt1-dev [platform:dpkg]
libxslt-dev [platform:apk]
podman [platform:rpm]
python-devel [platform:rpm !platform:rhel-8 !platform:centos-8]
python3-devel [platform:rpm !platform:rhel-7 !platform:centos-7]
PyYAML [platform:rpm !platform:rhel-8 !platform:centos-8]

3
ci/playbooks/pre.yml

@ -39,6 +39,3 @@
with_items:
- tripleo-ansible
- validations-common
roles:
- role: ensure-docker

1
molecule-requirements.txt

@ -1,7 +1,6 @@
# this is required for the molecule jobs
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

5
roles/ceilometerdb_size/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/ceph/molecule/ceph-ansible-installed/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -17,6 +17,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -27,6 +29,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/ceph/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -14,6 +14,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -21,6 +23,7 @@ platforms:
pkg_extras: python*-setuptools python*-enum34 python*-netaddr ruby python*-PyYAML
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

4
roles/check_kernel_version/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -15,6 +15,8 @@ platforms:
environment:
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
provisioner:
name: ansible

5
roles/check_network_gateway/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/collect_flavors_and_verify_profiles/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/container_status/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/controller_token/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

24
roles/controller_ulimits/molecule/default/converge.yml

@ -19,20 +19,34 @@
hosts: all
gather_facts: false
vars:
nofiles_min: 102400
nproc_min: 204800
tasks:
- block:
- include_role:
name: controller_ulimits
vars:
nofiles_min: 102400
nproc_min: 512
rescue:
- name: Clear host errors
meta: clear_host_errors
- debug:
msg: The validation works for detecting nofiles_min!
- block:
- include_role:
name: controller_ulimits
vars:
nofiles_min: 512
nproc_min: 204800
rescue:
- name: Clear host errors
meta: clear_host_errors
- debug:
msg: The validation works! End the playbook run
msg: >-
The validation works for detecting noproc_min!
End of playbook run.
- name: End play
meta: end_play

10
roles/controller_ulimits/molecule/default/molecule.yml

@ -1,13 +1,10 @@
---
driver:
name: docker
name: podman
log: true
platforms:
- name: centos7
ulimits: &ulimits
- nofile:512:512
- nproc:512:512
hostname: centos7
image: centos:7
pkg_extras: python-setuptools
@ -18,9 +15,11 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- nofile=512:512
- nproc=512:512
- name: centos8
ulimits: *ulimits
hostname: centos8
image: centos:8
pkg_extras: python*-setuptools
@ -28,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/ctlplane_ip_range/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/dhcp_validations/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/healthcheck_service_status/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/image_serve/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -21,6 +21,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -35,6 +37,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/ironic_boot_configuration/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/mysql_open_files_limit/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/network_environment/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/neutron_sanity_check/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/node_disks/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/node_health/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/nova_event_callback/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/nova_status/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/nova_svirt/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -17,6 +17,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -27,6 +29,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/openshift_on_openstack/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/openstack_endpoints/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/ovs_dpdk_pmd/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/pacemaker_status/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/package_version/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/rabbitmq_limits/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/repos/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/stack_health/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/stonith_exists/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/switch_vlans/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/system_encoding/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -17,6 +17,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -27,6 +29,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/tls_everywhere/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/undercloud_debug/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/undercloud_disk_space/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/undercloud_heat_purge_deleted/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -18,6 +18,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -29,6 +31,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/undercloud_process_count/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -16,6 +16,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -25,6 +27,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/undercloud_tokenflush/molecule/default/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -18,6 +18,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -29,6 +31,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

5
roles/undercloud_tokenflush/molecule/non-persistent-token-format/molecule.yml

@ -1,6 +1,6 @@
---
driver:
name: docker
name: podman
log: true
@ -18,6 +18,8 @@ platforms:
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: centos8
hostname: centos8
@ -29,6 +31,7 @@ platforms:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
environment:
<<: *env
ulimits: *ulimit
provisioner:
name: ansible

4
scripts/run-local-test

@ -40,6 +40,10 @@ case "${ID,,}" in
;;
esac
# Ensure the required ci file is present
sudo mkdir -p /etc/ci
sudo touch /etc/ci/mirror_info.sh
# Create a virtual env
"${PYTHON_EXEC}" -m virtualenv --system-site-packages "${HOME}/test-python"

8
tools/test-setup.sh

@ -1,8 +0,0 @@
#!/bin/bash
set -euxo pipefail
# Used by Zuul CI to perform extra bootstrapping
# Workaround for a potential:
# Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock
# See https://docs.docker.com/install/linux/linux-postinstall/
newgrp docker || true
Loading…
Cancel
Save