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
This commit is contained in:
parent
7c2467c982
commit
dd2fc8a73b
7
tox.ini
7
tox.ini
|
@ -109,3 +109,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'; \
|
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"
|
fi"
|
||||||
{[testenv:linters]commands}
|
{[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}
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
- tripleo-ansible-centos-8-molecule-tripleo_validations_package
|
- tripleo-ansible-centos-8-molecule-tripleo_validations_package
|
||||||
- tripleo-ansible-centos-8-molecule-tuned
|
- tripleo-ansible-centos-8-molecule-tuned
|
||||||
- tripleo-ansible-centos-8-role-addition
|
- tripleo-ansible-centos-8-role-addition
|
||||||
|
- tripleo-ansible-centos-8-molecule-tripleo-modules
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- tripleo-ansible-centos-8-molecule-aide
|
- tripleo-ansible-centos-8-molecule-aide
|
||||||
|
@ -124,6 +125,7 @@
|
||||||
- tripleo-ansible-centos-8-molecule-tripleo_validations_package
|
- tripleo-ansible-centos-8-molecule-tripleo_validations_package
|
||||||
- tripleo-ansible-centos-8-molecule-tuned
|
- tripleo-ansible-centos-8-molecule-tuned
|
||||||
- tripleo-ansible-centos-8-role-addition
|
- tripleo-ansible-centos-8-role-addition
|
||||||
|
- tripleo-ansible-centos-8-molecule-tripleo-modules
|
||||||
name: tripleo-ansible-molecule-jobs
|
name: tripleo-ansible-molecule-jobs
|
||||||
periodic-weekly:
|
periodic-weekly:
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -622,3 +624,13 @@
|
||||||
voting: true
|
voting: true
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: role-addition
|
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