Debian Codegraph @

ansible_collections/community/postgresql/tests/utils/shippable/linux.sh

raw
1 #!/usr/bin/env bash
2
3 set -o pipefail -eux
4
5 declare -a args
6 IFS='/:' read -ra args <<< "$1"
7
8 image="${args[1]}"
9
10 if [ "${#args[@]}" -gt 2 ]; then
11 target="shippable/posix/group${args[2]}/"
12 else
13 target="shippable/posix/"
14 fi
15
16 # shellcheck disable=SC2086
17 ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
18 --docker "${image}"