From 7fec0b69a082aaeec72fee0612766aa42f6b1b4d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:35 +0200 Subject: Merging upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- ansible_collections/azure/azcollection/tests/utils/ado/ado.sh | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 ansible_collections/azure/azcollection/tests/utils/ado/ado.sh (limited to 'ansible_collections/azure/azcollection/tests/utils/ado') diff --git a/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh b/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh old mode 100644 new mode 100755 index b313208ce..bd8a195b3 --- a/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh +++ b/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh @@ -67,6 +67,8 @@ mkdir -p shippable/testresults pip install -I -r "${TEST_DIR}/requirements-azure.txt" pip install -I -r "${TEST_DIR}/sanity-requirements-azure.txt" +pip install ansible-lint + timeout=90 if [ "$4" = "all" ] @@ -107,8 +109,11 @@ AZURE_MANAGED_BY_TENANT_ID:${AZURE_MANAGED_BY_TENANT_ID} AZURE_ROLE_DEFINITION_ID:${AZURE_ROLE_DEFINITION_ID} EOF +rm -rf "ansible" + if [ "sanity" = "${group}" ] then + ansible-lint --exclude "tests/integration/targets/inventory_azure/playbooks/vars.yml" --force-color -c "tests/lint/ignore-lint.txt" ansible-test sanity --color -v --junit else ansible-test integration --color -v --retry-on-error "shippable/azure/group${group}/" --allow-destructive -- cgit v1.2.3