mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
422 B
Bash
19 lines
422 B
Bash
6 years ago
|
#!/usr/bin/env bash
|
||
8 years ago
|
|
||
6 years ago
|
set -o pipefail -eux
|
||
8 years ago
|
|
||
|
declare -a args
|
||
7 years ago
|
IFS='/:' read -ra args <<< "$1"
|
||
8 years ago
|
|
||
7 years ago
|
image="${args[1]}"
|
||
|
|
||
|
if [ "${#args[@]}" -gt 2 ]; then
|
||
6 years ago
|
target="shippable/posix/group${args[2]}/"
|
||
7 years ago
|
else
|
||
6 years ago
|
target="shippable/posix/"
|
||
7 years ago
|
fi
|
||
8 years ago
|
|
||
8 years ago
|
# shellcheck disable=SC2086
|
||
7 years ago
|
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
|
||
7 years ago
|
--docker "${image}"
|