From 200cf3e1bc21b849986065da8022a404863c86ca Mon Sep 17 00:00:00 2001 From: Alex Stephen Date: Thu, 3 Oct 2019 10:40:43 -0700 Subject: [PATCH] everything is awesome, except no --- .ci/acceptance-tests/ansible-integration.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.ci/acceptance-tests/ansible-integration.sh b/.ci/acceptance-tests/ansible-integration.sh index c88bab82a45f..bd290a9fca65 100755 --- a/.ci/acceptance-tests/ansible-integration.sh +++ b/.ci/acceptance-tests/ansible-integration.sh @@ -15,16 +15,20 @@ pip install -r requirements.txt source hacking/env-setup popd +# Clone ansible_collections_google because submodules +# break collections +git clone https://github.com/ansible/ansible_collections_google.git + # Build newest modules pushd magic-modules-new-prs bundle install -bundle exec compiler -a -e ansible -o build/ansible +bundle exec compiler -a -e ansible -o ../ansible_collections_google popd # Install collection -pushd magic-modules-new-prs/build/ansible +pushd ansible_collections_google ansible-galaxy collection build . -ansible-galaxy collection install *.gz -p ~/.ansible/collections +ansible-galaxy collection install *.gz popd # Setup Cloud configuration template with variables