diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:35 +0000 |
commit | 7fec0b69a082aaeec72fee0612766aa42f6b1b4d (patch) | |
tree | efb569b86ca4da888717f5433e757145fa322e08 /ansible_collections/azure/azcollection/tests/utils/ado | |
parent | Releasing progress-linux version 7.7.0+dfsg-3~progress7.99u1. (diff) | |
download | ansible-7fec0b69a082aaeec72fee0612766aa42f6b1b4d.tar.xz ansible-7fec0b69a082aaeec72fee0612766aa42f6b1b4d.zip |
Merging upstream version 9.4.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/azure/azcollection/tests/utils/ado')
-rwxr-xr-x[-rw-r--r--] | ansible_collections/azure/azcollection/tests/utils/ado/ado.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh b/ansible_collections/azure/azcollection/tests/utils/ado/ado.sh index b313208ce..bd8a195b3 100644..100755 --- 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 |