From 3a8e8b514507ff84545bb9361ef8b80f82e12f3f Mon Sep 17 00:00:00 2001 From: gardar Date: Thu, 2 Mar 2023 03:16:49 +0000 Subject: [PATCH] fix: grab dependencies from github to avoid galaxy timeouts Signed-off-by: gardar --- requirements.yml | 6 ++++-- tests/integration/molecule.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/requirements.yml b/requirements.yml index 554b93f..7bb16e4 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,4 +1,6 @@ --- collections: - - community.general - - community.crypto + - name: https://github.com/ansible-collections/community.general.git + type: git + - name: https://github.com/ansible-collections/community.crypto.git + type: git diff --git a/tests/integration/molecule.sh b/tests/integration/molecule.sh index 6f8294a..405d86b 100755 --- a/tests/integration/molecule.sh +++ b/tests/integration/molecule.sh @@ -25,7 +25,7 @@ if [ "$(printf '%s\n' "2.12" "$ansible_version" | sort -V | head -n1)" = "2.12" python -m pip install molecule molecule-plugins[docker] else python -m pip install molecule molecule-docker - ansible-galaxy collection install community.docker + ansible-galaxy collection install git+https://github.com/ansible-collections/community.docker.git ansible-galaxy collection install -r "$collection_root/requirements.yml" fi