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>
This commit is contained in:
parent
30c3733a56
commit
972b03943f
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -39,6 +39,3 @@
|
|||
with_items:
|
||||
- tripleo-ansible
|
||||
- validations-common
|
||||
|
||||
roles:
|
||||
- role: ensure-docker
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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! End the playbook run
|
||||
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 for detecting noproc_min!
|
||||
End of playbook run.
|
||||
|
||||
- name: End play
|
||||
meta: end_play
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue