From b24d27d4bd8ba382059eb0c841af8a7213578366 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 14 Jun 2021 07:58:00 +0200 Subject: [PATCH] Make extra sanity test runner produce ansibullbot and JUnit output. (#2794) (#2798) (cherry picked from commit a55c96d5c14661be3257cf3b465cbf8b301435eb) Co-authored-by: Felix Fontein --- tests/utils/shippable/sanity.sh | 2 +- tests/utils/shippable/shippable.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/utils/shippable/sanity.sh b/tests/utils/shippable/sanity.sh index 187105409c..eacbd81609 100755 --- a/tests/utils/shippable/sanity.sh +++ b/tests/utils/shippable/sanity.sh @@ -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 diff --git a/tests/utils/shippable/shippable.sh b/tests/utils/shippable/shippable.sh index d52d36fa2c..8b998c094b 100755 --- a/tests/utils/shippable/shippable.sh +++ b/tests/utils/shippable/shippable.sh @@ -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"