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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user