1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/runner/lib
Matt Clay 7b4bc572de
Fix ansible-test target dependency issues. (#50908)
* Log dependencies at verbosity level 4.

This makes it easier to debug target dependency issues.

* Scan symlinks for target dependencies.

Some test targets use symlinks to files in other test targets.
These dependencies were previously undetected. This could result in
changes made to dependencies without triggering the dependent tests.

* Track missing target deps with `needs/target/*`.

Some existing test targets have untracked dependencies on other
test targets. This can result in changes to those dependencies
not triggering their dependent tests, resulting in test failures
after a PR is merged.

This PR adds the appropriate `needs/target/*` aliases to track
those dependencies, along with appropriate processing in
ansible-test to handle the new aliases.

* Scan meta dependencies in script targets.

Script targets are often former role targets which were converted
to allow custom invocations of ansible-playbook. These targets still
have their meta dependencies, but they were not being detected.

This could result in changes to dependencies not triggering the
targets which depend on them.
2019-01-14 19:57:32 -08:00
..
cloud Cleanup integration test inventory. (#50753) 2019-01-10 14:45:12 -08:00
sanity Fix ansible-test --exclude with delegation. 2018-10-15 14:05:37 -07:00
__init__.py Add support for cloud tests to ansible-test. (#24315) 2017-05-05 16:23:00 +08:00
ansible_util.py Disable retry files for integration tests. 2019-01-09 17:59:40 -08:00
changes.py Fix ansible-test merge change detection. 2018-11-14 12:27:40 -08:00
classification.py Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
cli.py Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
config.py Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
core_ci.py Force PEM SSH keys for paramiko 2018-10-18 21:25:55 -07:00
cover.py Fix ansible-test encoding issues for exceptions. 2018-10-02 13:36:43 -07:00
csharp_import_analysis.py win_exec: refactor PS exec runner (#45334) 2018-10-02 15:55:53 -07:00
delegation.py Delegate ansible-test with LC_ALL=en_US.UTF-8. 2019-01-14 19:13:51 -08:00
diff.py Add test verification to ansible-test. (#22636) 2017-03-15 12:17:42 -07:00
docker_util.py Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
env.py Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
executor.py Fix ansible-test skip warning message. 2018-11-27 07:50:22 -08:00
git.py Fix ansible-test merge change detection. 2018-11-14 12:27:40 -08:00
http.py Cleanup and enhancements for ansible-test. (#37142) 2018-03-07 14:02:31 -08:00
import_analysis.py Fix ansible-test pylint and pep8 issues. (#24245) 2017-05-03 23:19:44 +08:00
manage_ci.py Add --raw option to ansible-test shell command. 2018-11-16 17:38:15 -08:00
metadata.py Improve handling of integration test aliases. (#38698) 2018-04-12 16:15:28 -07:00
powershell_import_analysis.py Add PS dependency analysis to ansible-test. 2017-11-21 12:30:16 -08:00
pytar.py Minor fixes for unit test delegation. 2018-09-18 16:12:15 -07:00
target.py Fix ansible-test target dependency issues. (#50908) 2019-01-14 19:57:32 -08:00
test.py Improve bot messaging on CI failures. 2018-02-07 23:42:08 -08:00
thread.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
util.py Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00