summaryrefslogtreecommitdiff
path: root/test/utils/shippable/cloud.sh
blob: 9782bd7ce077ab20d077f62ed2cc2aa0d64cf14f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash -eux

set -o pipefail

declare -a args
IFS='/:' read -ra args <<< "$1"

image="${args[1]}"
target="posix/ci/cloud/group${args[2]}/"

# shellcheck disable=SC2086
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
    --docker "${image}" --changed-all-target "${target}smoketest/"