2017-05-03 00:24:05 +00:00
|
|
|
#!/bin/bash -eux
|
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
declare -a args
|
2017-10-03 19:43:46 +00:00
|
|
|
IFS='/:' read -ra args <<< "$1"
|
2017-05-03 00:24:05 +00:00
|
|
|
|
2017-10-03 21:37:05 +00:00
|
|
|
image="${args[1]}"
|
2017-10-26 07:21:46 +00:00
|
|
|
python="${args[2]}"
|
|
|
|
target="posix/ci/cloud/group${args[3]}/"
|
2017-05-03 00:24:05 +00:00
|
|
|
|
2018-03-10 00:17:29 +00:00
|
|
|
stage="${S:-prod}"
|
|
|
|
|
2017-05-13 17:08:42 +00:00
|
|
|
# shellcheck disable=SC2086
|
2017-10-03 21:37:05 +00:00
|
|
|
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
|
2018-03-10 00:17:29 +00:00
|
|
|
--remote-terminate always --remote-stage "${stage}" \
|
2017-10-26 07:21:46 +00:00
|
|
|
--docker "${image}" --python "${python}" --changed-all-target "${target}smoketest/"
|