mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
(cherry picked from commit 3fee872d58
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
2cec7a1779
commit
86ff3eb02e
1 changed files with 5 additions and 1 deletions
|
@ -87,9 +87,13 @@ if [ "${script}" != "sanity" ] || [ "${test}" == "sanity/extra" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${script}" != "sanity" ] && [ "${script}" != "units" ]; then
|
if [ "${script}" != "sanity" ] && [ "${script}" != "units" ]; then
|
||||||
|
CRYPTO_BRANCH=main
|
||||||
|
if [ "${script}" == "linux" ] && [[ "${test}" =~ "ubuntu1604/" ]]; then
|
||||||
|
CRYPTO_BRANCH=stable-1
|
||||||
|
fi
|
||||||
# To prevent Python dependencies on other collections only install other collections for integration tests
|
# To prevent Python dependencies on other collections only install other collections for integration tests
|
||||||
retry git clone --depth=1 --single-branch https://github.com/ansible-collections/ansible.posix.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/ansible/posix"
|
retry git clone --depth=1 --single-branch https://github.com/ansible-collections/ansible.posix.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/ansible/posix"
|
||||||
retry git clone --depth=1 --single-branch https://github.com/ansible-collections/community.crypto.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/crypto"
|
retry git clone --depth=1 --branch "${CRYPTO_BRANCH}" --single-branch https://github.com/ansible-collections/community.crypto.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/crypto"
|
||||||
# NOTE: we're installing with git to work around Galaxy being a huge PITA (https://github.com/ansible/galaxy/issues/2429)
|
# 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 ansible.posix
|
# retry ansible-galaxy -vvv collection install ansible.posix
|
||||||
# retry ansible-galaxy -vvv collection install community.crypto
|
# retry ansible-galaxy -vvv collection install community.crypto
|
||||||
|
|
Loading…
Reference in a new issue