2016-11-30 05:21:53 +00:00
|
|
|
#!/bin/bash -eux
|
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
declare -a args
|
2017-10-03 19:43:46 +00:00
|
|
|
IFS='/:' read -ra args <<< "$1"
|
2016-11-30 05:21:53 +00:00
|
|
|
|
2017-10-03 21:37:05 +00:00
|
|
|
image="${args[1]}"
|
|
|
|
|
|
|
|
if [ "${#args[@]}" -gt 2 ]; then
|
2018-07-24 03:46:22 +00:00
|
|
|
target="shippable/posix/group${args[2]}/"
|
2017-10-03 21:37:05 +00:00
|
|
|
else
|
2018-07-24 03:46:22 +00:00
|
|
|
target="shippable/posix/"
|
2017-10-03 21:37:05 +00:00
|
|
|
fi
|
2016-11-30 05:21:53 +00:00
|
|
|
|
2017-05-13 17:08:42 +00:00
|
|
|
# shellcheck disable=SC2086
|
2018-04-12 23:15:28 +00:00
|
|
|
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
|
2017-10-03 21:37:05 +00:00
|
|
|
--docker "${image}"
|