mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-17 20:38:42 +00:00
Make extra sanity test runner produce ansibullbot and JUnit output. (#154)
This commit is contained in:
parent
fc241019b5
commit
22bc8da783
@ -14,7 +14,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${group}" == "extra" ]; then
|
if [ "${group}" == "extra" ]; then
|
||||||
../internal_test_tools/tools/run.py --color
|
../internal_test_tools/tools/run.py --color --bot --junit
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -73,6 +73,11 @@ else
|
|||||||
export ANSIBLE_COLLECTIONS_PATHS="${PWD}/../../../"
|
export ANSIBLE_COLLECTIONS_PATHS="${PWD}/../../../"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${test}" == "sanity/extra" ]; then
|
||||||
|
retry pip install junit-xml --disable-pip-version-check
|
||||||
|
fi
|
||||||
|
|
||||||
|
# START: HACK
|
||||||
if [ "${script}" != "sanity" ] || [ "${test}" == "sanity/extra" ]; then
|
if [ "${script}" != "sanity" ] || [ "${test}" == "sanity/extra" ]; then
|
||||||
# Nothing further should be added to this list.
|
# Nothing further should be added to this list.
|
||||||
# This is to prevent modules or plugins in this collection having a runtime dependency on other collections.
|
# This is to prevent modules or plugins in this collection having a runtime dependency on other collections.
|
||||||
@ -91,9 +96,9 @@ if [ "${script}" != "sanity" ] && [ "${script}" != "units" ]; then
|
|||||||
# retry ansible-galaxy -vvv collection install community.crypto
|
# retry ansible-galaxy -vvv collection install community.crypto
|
||||||
# retry ansible-galaxy -vvv collection install community.general
|
# retry ansible-galaxy -vvv collection install community.general
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# END: HACK
|
# END: HACK
|
||||||
|
|
||||||
|
|
||||||
export PYTHONIOENCODING='utf-8'
|
export PYTHONIOENCODING='utf-8'
|
||||||
|
|
||||||
if [ "${JOB_TRIGGERED_BY_NAME:-}" == "nightly-trigger" ]; then
|
if [ "${JOB_TRIGGERED_BY_NAME:-}" == "nightly-trigger" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user