Debian Codegraph @

ansible_collections/community/postgresql/tests/utils/shippable/rhel.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 platform="${args[0]}"
9 version="${args[1]}"
10
11 if [ "${#args[@]}" -gt 2 ]; then
12 target="shippable/posix/group${args[2]}/"
13 else
14 target="shippable/posix/"
15 fi
16
17 stage="${S:-prod}"
18 provider="${P:-default}"
19
20 # shellcheck disable=SC2086
21 ansible-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}"