CI: Switch to pytest-ansible
The functionality provided by pytest-molecule been merged into the pytest-ansible plugin. The repository has been archived [1]. Switch to pytest-ansible for the molecule job. We need to disable pytest-ansible when running testinfra because they define the same --ansible-inventory option [2]. Make the kayobe-tox-molecule job voting again. [1] https://github.com/ansible-community/pytest-molecule [2] https://github.com/pytest-dev/pytest-testinfra/issues/58 Change-Id: I956ed42a4a862a14d1ac9e40c40e0cdf62e36464
This commit is contained in:
parent
50ac65c58a
commit
d3c0ff56a5
@ -19,3 +19,7 @@ scenario:
|
|||||||
name: default
|
name: default
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
options:
|
||||||
|
# Disable pytest-ansible which conflicts with argument --ansible-inventory
|
||||||
|
# https://github.com/pytest-dev/pytest-testinfra/issues/58
|
||||||
|
p: "no:pytest-ansible"
|
||||||
|
@ -146,3 +146,7 @@ scenario:
|
|||||||
name: enable-everything
|
name: enable-everything
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
options:
|
||||||
|
# Disable pytest-ansible which conflicts with argument --ansible-inventory
|
||||||
|
# https://github.com/pytest-dev/pytest-testinfra/issues/58
|
||||||
|
p: "no:pytest-ansible"
|
||||||
|
@ -7,7 +7,7 @@ ansible-compat # MIT
|
|||||||
docker # Apache-2.0
|
docker # Apache-2.0
|
||||||
molecule # MIT
|
molecule # MIT
|
||||||
molecule-plugins[docker] # MIT
|
molecule-plugins[docker] # MIT
|
||||||
|
pytest-ansible # MIT
|
||||||
pytest-metadata # MPL
|
pytest-metadata # MPL
|
||||||
pytest-molecule # MIT
|
|
||||||
pytest-testinfra
|
pytest-testinfra
|
||||||
yamllint # GPLv3
|
yamllint # GPLv3
|
||||||
|
@ -13,8 +13,7 @@
|
|||||||
files: THIS-JOB-IS-DISABLED
|
files: THIS-JOB-IS-DISABLED
|
||||||
- kayobe-tox-ansible-syntax
|
- kayobe-tox-ansible-syntax
|
||||||
- kayobe-tox-ansible
|
- kayobe-tox-ansible
|
||||||
- kayobe-tox-molecule:
|
- kayobe-tox-molecule
|
||||||
voting: false
|
|
||||||
- kayobe-overcloud-rocky9
|
- kayobe-overcloud-rocky9
|
||||||
- kayobe-overcloud-centos9s
|
- kayobe-overcloud-centos9s
|
||||||
- kayobe-overcloud-ubuntu-noble
|
- kayobe-overcloud-ubuntu-noble
|
||||||
@ -42,7 +41,7 @@
|
|||||||
files: THIS-JOB-IS-DISABLED
|
files: THIS-JOB-IS-DISABLED
|
||||||
- kayobe-tox-ansible-syntax
|
- kayobe-tox-ansible-syntax
|
||||||
- kayobe-tox-ansible
|
- kayobe-tox-ansible
|
||||||
#- kayobe-tox-molecule
|
- kayobe-tox-molecule
|
||||||
- kayobe-overcloud-rocky9
|
- kayobe-overcloud-rocky9
|
||||||
- kayobe-overcloud-ubuntu-noble
|
- kayobe-overcloud-ubuntu-noble
|
||||||
- kayobe-overcloud-tls-rocky9
|
- kayobe-overcloud-tls-rocky9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user