From befa690d9e0409f8c54d8ebd5c780868440822c0 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 27 Mar 2021 09:57:50 +0100 Subject: [PATCH] Stop using ansible-galaxy collection install to install a collection due to https://github.com/ansible/galaxy/issues/2429. (#211) --- tests/utils/shippable/shippable.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/utils/shippable/shippable.sh b/tests/utils/shippable/shippable.sh index 40696f54..aedd1fb7 100755 --- a/tests/utils/shippable/shippable.sh +++ b/tests/utils/shippable/shippable.sh @@ -86,7 +86,9 @@ fi # START: HACK install integration test dependencies if [ "${script}" != "units" ] && [ "${script}" != "sanity" ] && [ "${ansible_version}" != "2.9" ]; then - retry ansible-galaxy -vvv collection install community.general + 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 fi # END: HACK