1#!/usr/local/bin/bash 2 3set -o pipefail -eux 4 5declare -a args 6IFS='/:' read -ra args <<< "$1" 7 8platform="${args[0]}" 9version="${args[1]}" 10 11if [ "${#args[@]}" -gt 2 ]; then 12 target="shippable/posix/group${args[2]}/" 13else 14 target="shippable/posix/" 15fi 16 17stage="${S:-prod}" 18provider="${P:-default}" 19 20# shellcheck disable=SC2086 21ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ 22 --remote "${platform}/${version}" --remote-terminate always --remote-stage "${stage}" --remote-provider "${provider}" 23