summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/utils/shippable/cloud.sh6
-rwxr-xr-xtest/utils/shippable/freebsd.sh10
-rwxr-xr-xtest/utils/shippable/linux.sh12
-rwxr-xr-xtest/utils/shippable/osx.sh10
-rwxr-xr-xtest/utils/shippable/rhel.sh12
5 files changed, 37 insertions, 13 deletions
diff --git a/test/utils/shippable/cloud.sh b/test/utils/shippable/cloud.sh
index 18e6269466..9782bd7ce0 100755
--- a/test/utils/shippable/cloud.sh
+++ b/test/utils/shippable/cloud.sh
@@ -5,9 +5,9 @@ set -o pipefail
declare -a args
IFS='/:' read -ra args <<< "$1"
-image="ansible/ansible:${args[1]}"
+image="${args[1]}"
target="posix/ci/cloud/group${args[2]}/"
# shellcheck disable=SC2086
-ansible-test integration --color -v --retry-on-error "${target}" --docker "${image}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
- --changed-all-target "${target}smoketest/"
+ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
+ --docker "${image}" --changed-all-target "${target}smoketest/"
diff --git a/test/utils/shippable/freebsd.sh b/test/utils/shippable/freebsd.sh
index abd1bb2a9f..603b1a08c4 100755
--- a/test/utils/shippable/freebsd.sh
+++ b/test/utils/shippable/freebsd.sh
@@ -7,8 +7,14 @@ IFS='/:' read -ra args <<< "$1"
platform="${args[0]}"
version="${args[1]}"
-target="posix/ci/group${args[2]}/"
+
+if [ "${#args[@]}" -gt 2 ]; then
+ target="posix/ci/group${args[2]}/"
+else
+ target="posix/ci/"
+fi
# shellcheck disable=SC2086
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
- --remote "${platform}/${version}" --remote-terminate always
+ --exclude "posix/ci/cloud/" \
+ --remote "${platform}/${version}" --remote-terminate always
diff --git a/test/utils/shippable/linux.sh b/test/utils/shippable/linux.sh
index 4acbc1d4b5..80e3b3bc4b 100755
--- a/test/utils/shippable/linux.sh
+++ b/test/utils/shippable/linux.sh
@@ -5,9 +5,15 @@ set -o pipefail
declare -a args
IFS='/:' read -ra args <<< "$1"
-image="ansible/ansible:${args[1]}"
-target="posix/ci/group${args[2]}/"
+image="${args[1]}"
+
+if [ "${#args[@]}" -gt 2 ]; then
+ target="posix/ci/group${args[2]}/"
+else
+ target="posix/ci/"
+fi
# shellcheck disable=SC2086
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
- --docker "${image}"
+ --exclude "posix/ci/cloud/" \
+ --docker "${image}"
diff --git a/test/utils/shippable/osx.sh b/test/utils/shippable/osx.sh
index abd1bb2a9f..603b1a08c4 100755
--- a/test/utils/shippable/osx.sh
+++ b/test/utils/shippable/osx.sh
@@ -7,8 +7,14 @@ IFS='/:' read -ra args <<< "$1"
platform="${args[0]}"
version="${args[1]}"
-target="posix/ci/group${args[2]}/"
+
+if [ "${#args[@]}" -gt 2 ]; then
+ target="posix/ci/group${args[2]}/"
+else
+ target="posix/ci/"
+fi
# shellcheck disable=SC2086
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
- --remote "${platform}/${version}" --remote-terminate always
+ --exclude "posix/ci/cloud/" \
+ --remote "${platform}/${version}" --remote-terminate always
diff --git a/test/utils/shippable/rhel.sh b/test/utils/shippable/rhel.sh
index a7459d72d1..603b1a08c4 100755
--- a/test/utils/shippable/rhel.sh
+++ b/test/utils/shippable/rhel.sh
@@ -7,8 +7,14 @@ IFS='/:' read -ra args <<< "$1"
platform="${args[0]}"
version="${args[1]}"
-target="posix/ci/"
+
+if [ "${#args[@]}" -gt 2 ]; then
+ target="posix/ci/group${args[2]}/"
+else
+ target="posix/ci/"
+fi
# shellcheck disable=SC2086
-ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
- --exclude "posix/ci/cloud/"
+ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
+ --exclude "posix/ci/cloud/" \
+ --remote "${platform}/${version}" --remote-terminate always