mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-26 21:33:25 +00:00
Hack: install latest cryptography + pyOpenSSL versions on macOS until https://github.com/ansible/ansible/issues/68701 has been fixed (#35)
This commit is contained in:
@@ -61,6 +61,14 @@ else
|
||||
COMPLETE=yes
|
||||
fi
|
||||
|
||||
# START: HACK
|
||||
if [ "${script}" == "osx" ]; then
|
||||
# Make sure that the latest versions of pyOpenSSL and cryptography are installed on macOS.
|
||||
# This is necessary until https://github.com/ansible/ansible/issues/68701 has been fixed.
|
||||
retry pip install --upgrade pyOpenSSL cryptography
|
||||
fi
|
||||
# END: HACK
|
||||
|
||||
export ANSIBLE_COLLECTIONS_PATHS="${HOME}/.ansible"
|
||||
SHIPPABLE_RESULT_DIR="$(pwd)/shippable"
|
||||
TEST_DIR="${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/crypto"
|
||||
@@ -68,7 +76,7 @@ mkdir -p "${TEST_DIR}"
|
||||
cp -aT "${SHIPPABLE_BUILD_DIR}" "${TEST_DIR}"
|
||||
cd "${TEST_DIR}"
|
||||
|
||||
# STAR: HACK install integration test dependencies
|
||||
# START: HACK install integration test dependencies
|
||||
if [ "${script}" != "units" ] && [ "${script}" != "sanity" ] && [ "${ansible_version}" != "2.9" ]; then
|
||||
retry ansible-galaxy -vvv collection install community.general
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user