Add back testing for tripleo-ansible modules.
[0] enabled the execution of molecule tests to cover the tripleo-ansible added modules. However, the job was removed due to the movement to collections. As currently, none of the molecule tests under ansible_plugins/tests are being triggered by the CI any changes into the corresponding modules might break their functionality and pass unnoticed. This patch enables back the tripleo-ansible-centos-8-molecule-tripleo-modules test which will get triggered when some of the corresponding modules get modified. [0]:2d42082737
Change-Id: Id6f89dfa7075e59f17fe847e3d14024aaa287933 (cherry picked from commitdd2fc8a73b
)
This commit is contained in:
parent
dc7f164ffa
commit
50faa88c7c
7
tox.ini
7
tox.ini
|
@ -108,3 +108,10 @@ commands =
|
|||
echo -e '\n\nNo molecule tests have been executed\nSee https://docs.openstack.org/tripleo-ansible/latest/contributing.html#local-testing-of-new-roles\n\n'; \
|
||||
fi"
|
||||
{[testenv:linters]commands}
|
||||
|
||||
[testenv:modules]
|
||||
deps=
|
||||
{[testenv:linters]deps}
|
||||
commands =
|
||||
bash -c "cd {toxinidir}/tripleo_ansible/ansible_plugins/tests; molecule test --all;"
|
||||
{[testenv:linters]commands}
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
- tripleo-ansible-centos-8-molecule-tripleo_validations_package
|
||||
- tripleo-ansible-centos-8-molecule-tuned
|
||||
- tripleo-ansible-centos-8-role-addition
|
||||
- tripleo-ansible-centos-8-molecule-tripleo-modules
|
||||
gate:
|
||||
jobs:
|
||||
- tripleo-ansible-centos-8-molecule-aide
|
||||
|
@ -126,6 +127,7 @@
|
|||
- tripleo-ansible-centos-8-molecule-tripleo_validations_package
|
||||
- tripleo-ansible-centos-8-molecule-tuned
|
||||
- tripleo-ansible-centos-8-role-addition
|
||||
- tripleo-ansible-centos-8-molecule-tripleo-modules
|
||||
name: tripleo-ansible-molecule-jobs
|
||||
periodic-weekly:
|
||||
jobs:
|
||||
|
@ -633,3 +635,13 @@
|
|||
voting: false
|
||||
vars:
|
||||
tox_envlist: role-addition
|
||||
- job:
|
||||
files:
|
||||
- ^tripleo_ansible/ansible_plugins/modules/container_startup_config.py
|
||||
- ^tripleo_ansible/ansible_plugins/modules/tripleo_container_configs.py
|
||||
- ^tripleo_ansible/ansible_plugins/modules/tripleo_container_config_scripts.py
|
||||
- ^tripleo_ansible/ansible_plugins/modules/tripleo_os_net_config.py
|
||||
- ^tripleo_ansible/ansible_plugins/strategy/.*
|
||||
- ^tox.ini
|
||||
name: tripleo-ansible-centos-8-molecule-tripleo-modules
|
||||
parent: tripleo-ansible-centos-8-base
|
||||
|
|
Loading…
Reference in New Issue