mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Enable cloud tests for use with ansible-test.
This commit is contained in:
11
test/utils/shippable/cloud.sh
Executable file
11
test/utils/shippable/cloud.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash -eux
|
||||
|
||||
set -o pipefail
|
||||
|
||||
declare -a args
|
||||
IFS='/:' read -ra args <<< "${TEST}"
|
||||
|
||||
image="ansible/ansible:${args[1]}"
|
||||
target="posix/ci/cloud/"
|
||||
|
||||
ansible-test integration --color -v --retry-on-error "${target}" --docker "${image}"
|
||||
@@ -9,4 +9,4 @@ platform="${args[0]}"
|
||||
version="${args[1]}"
|
||||
target="posix/ci/"
|
||||
|
||||
ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}"
|
||||
ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}" --exclude "posix/ci/cloud/"
|
||||
|
||||
@@ -9,4 +9,4 @@ platform="${args[0]}"
|
||||
version="${args[1]}"
|
||||
target="posix/ci/"
|
||||
|
||||
ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}"
|
||||
ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}" --exclude "posix/ci/cloud/"
|
||||
|
||||
Reference in New Issue
Block a user