You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should set add molecule configurations for the remaining roles. This will require:
updating the role README to reflect it is now part of a Collection rather than a standalone Role (remove the Requirements, Dependencies, License, and Author Information sections as these are now all in the README for the Collection instead)
add the role to tests/molecule/resources/converge.yml (adding a tag that can be used to selectively run the role)
add any preparation steps needed to tests/molecule/resources/prepare.yml
add any verify steps to tests/molecule/resources/verify.yml
add a workflow to run molecule converge on the role whenever it changes (see existing role workflows for examples)
For examples, see these PRs that add a molecule setup:
Fixes#91
Part of #13
- add molecule config for `mirsg.infrastructure.docker`
- add workflow to run tests in CI
- update README for `mirsg.infrastructure.docker` to reflect it is now
part of a collection (rather than a standalone role)
---------
Co-authored-by: Daniel Matthews <[email protected]>
Task Description
Currently, in CI we only run molecule on a few of the roles:
ansible-collection-infra/tests/molecule/resources/converge.yml
Lines 7 to 17 in f350806
We should set add molecule configurations for the remaining roles. This will require:
updating the role README to reflect it is now part of a Collection rather than a standalone Role (remove the Requirements, Dependencies, License, and Author Information sections as these are now all in the README for the Collection instead)
add the role to
tests/molecule/resources/converge.yml
(adding a tag that can be used to selectively run the role)add any preparation steps needed to
tests/molecule/resources/prepare.yml
add any verify steps to
tests/molecule/resources/verify.yml
add a workflow to run
molecule converge
on the role whenever it changes (see existing role workflows for examples)For examples, see these PRs that add a molecule setup:
mirsg.infrastructure.install_python
#11Related Work Items
mirsg.infrastructure.docker
#91mirsg.infrastructure.nginx
#50mirsg.infrastructure.tomcat
#90The roles related to monitoring might need a different molecule setup (with two servers rather than the current single-server setup)
The text was updated successfully, but these errors were encountered: