summaryrefslogtreecommitdiff
path: root/test/utils/shippable/rhel.sh
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-10-03 14:37:05 -0700
committerGitHub <noreply@github.com>2017-10-03 14:37:05 -0700
commit5a91ed0a3be0ea4910052535f65fd5c64bf029fe (patch)
tree23e5f283519bcadc3c647933a8d98fba69d3653b /test/utils/shippable/rhel.sh
parent9c6d7ddeb50eb1d0568d6c5b2f286991772b0396 (diff)
downloadansible-5a91ed0a3be0ea4910052535f65fd5c64bf029fe.tar.gz
Switch CI for OS X back to a single job. (#31265)
* Update Shippable scripts for group/non-group use. * Switch CI for OS X back to a single job.
Diffstat (limited to 'test/utils/shippable/rhel.sh')
-rwxr-xr-xtest/utils/shippable/rhel.sh12
1 files changed, 9 insertions, 3 deletions
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