Remove workaround for tox-ansible and global molecule config
[1] has been merged and released[2] in upstream tox-ansible and it is now able to manage global molecule configuration. The workaround, which consisted in adding the molecule driver name in each scenarios molecule.yml files, is not necessary anymore. This patch also removes all the relative symlink to the Dockerfile and adds directly in the global molecule configuration file. [1] https://github.com/ansible-community/tox-ansible/pull/89 [2] https://github.com/ansible-community/tox-ansible/releases/tag/v1.5.0 Change-Id: I8ac3f731c9d6af983dd902fc94e06a07c2ab9954 Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
This commit is contained in:
parent
7f196ad2bd
commit
1f3c0d2e7b
@ -30,7 +30,7 @@ platforms:
|
||||
image: ubi8/ubi-init
|
||||
registry:
|
||||
url: registry.access.redhat.com
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: ../../../../../.config/molecule/Dockerfile
|
||||
pkg_extras: python*-setuptools python*-pyyaml
|
||||
volumes:
|
||||
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -2,16 +2,13 @@
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
||||
platforms:
|
||||
- name: ubi8
|
||||
hostname: ubi8
|
||||
image: ubi8/ubi-init
|
||||
registry:
|
||||
url: registry.access.redhat.com
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: ../../../../../.config/molecule/Dockerfile
|
||||
command: /sbin/init
|
||||
pkg_extras: python*-setuptools python*-pyyaml
|
||||
volumes:
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -11,7 +11,7 @@ platforms:
|
||||
image: ubi8/ubi-init
|
||||
registry:
|
||||
url: registry.access.redhat.com
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: ../../../../../.config/molecule/Dockerfile
|
||||
pkg_extras: python*-setuptools python*-pyyaml python*-libselinux
|
||||
command: /sbin/init
|
||||
capabilities:
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -2,16 +2,13 @@
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
||||
platforms:
|
||||
- name: ubi8
|
||||
hostname: ubi8
|
||||
image: ubi8/ubi-init
|
||||
registry:
|
||||
url: registry.access.redhat.com
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: ../../../../../.config/molecule/Dockerfile
|
||||
pkg_extras: python*-setuptools python*-pyyaml
|
||||
volumes:
|
||||
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
@ -1 +0,0 @@
|
||||
../../../../../.config/molecule/Dockerfile
|
@ -1,6 +1,3 @@
|
||||
---
|
||||
# inherits tripleo-validations/.config/molecule/config.yml
|
||||
# To override default values, please take a look at the config.yml.
|
||||
|
||||
driver:
|
||||
name: podman
|
||||
|
Loading…
Reference in New Issue
Block a user