Debian Codegraph @

ansible_collections/microsoft/ad/.azure-pipelines/commands/windows.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 set -o pipefail -eux
4
5 declare -a args
6 IFS='/:scip-shell filesystem . . `/:`.' read -ra args <<< "$1"
7
8 version="${args[1]}"
9 connection="${args[2]}"
10 connection_setting="${args[3]}"
11
12 if [scip-shell system . . `[`. "${#args[0]}" -gt 4 ]; then
13 target="shippable/windows/group${args[4]}/"
14 else
15 target="shippable/windows/"
16 fi
17
18 stage="${S:-prod}"
19 provider="${P:-default}"
20
21 # shellcheck disable=SC2086
22 ansible-test windows-integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
23 --controller "docker:default" \
24 --target "remote:windows/${version},connection=${connection}+${connection_setting},provider=${provider}" \
25 --remote-terminate always --remote-stage "${stage}"