From 0a1e25e16a608529af16ed896deac89cc256bc6d Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 18 Nov 2021 21:21:57 +0100 Subject: [PATCH] Fix collection dependency installation in CI. (#341) (#342) (cherry picked from commit f1a6baadc748542d21126be714f8d1dcc8e6b3d0) Co-authored-by: Felix Fontein --- tests/utils/shippable/shippable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/shippable/shippable.sh b/tests/utils/shippable/shippable.sh index 4bf48ef3..6a178ffe 100755 --- a/tests/utils/shippable/shippable.sh +++ b/tests/utils/shippable/shippable.sh @@ -97,7 +97,7 @@ if [ "${test}" == "sanity/extra" ]; then # retry ansible-galaxy -vvv collection install community.internal_test_tools fi -if [ "${script}" != "units" ] && [ "${script}" != "sanity" ] && [ "${ansible_version}" != "2.9" ]; then +if [ "${script}" != "units" ] && [ "${script}" != "sanity" ] && [ "${test}" != "sanity/extra" ] && [ "${ansible_version}" != "2.9" ]; then retry git clone --depth=1 --single-branch https://github.com/ansible-collections/community.general.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/general" # NOTE: we're installing with git to work around Galaxy being a huge PITA (https://github.com/ansible/galaxy/issues/2429) # retry ansible-galaxy -vvv collection install community.general