Use CI mirrors for molecule jobs

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

Change-Id: I179004fde7587a81eb87f3cc477870b4b48bd83e
This commit is contained in:
Sagi Shnaidman
2020-02-20 08:47:32 +02:00
parent 57cc4d8075
commit dcf8c98fb9
52 changed files with 191 additions and 2 deletions

View File

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

View File

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