Make extra sanity test runner produce ansibullbot and JUnit output. (#2794) (#2798)

(cherry picked from commit a55c96d5c1)

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/2804/head
patchback[bot] 2021-06-14 07:58:00 +02:00 committed by GitHub
parent 7b3319dd81
commit b24d27d4bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,7 @@ else
fi
if [ "${group}" == "extra" ]; then
../internal_test_tools/tools/run.py --color
../internal_test_tools/tools/run.py --color --bot --junit
exit
fi

View File

@ -73,6 +73,10 @@ else
export ANSIBLE_COLLECTIONS_PATHS="${PWD}/../../../"
fi
if [ "${test}" == "sanity/extra" ]; then
retry pip install junit-xml --disable-pip-version-check
fi
# START: HACK install dependencies
retry git clone --depth=1 --single-branch https://github.com/ansible-collections/ansible.netcommon.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/ansible/netcommon"
retry git clone --depth=1 --single-branch https://github.com/ansible-collections/community.kubernetes.git --branch 1.2.0 "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/kubernetes"