Add shippable tests. (#4)

This commit is contained in:
Felix Fontein
2020-03-24 20:03:33 +01:00
parent 70615300fb
commit e91849d1d8
37 changed files with 553 additions and 63 deletions

18
tests/utils/shippable/linux.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -o pipefail -eux
declare -a args
IFS='/:' read -ra args <<< "$1"
image="${args[1]}"
if [ "${#args[@]}" -gt 2 ]; then
target="shippable/posix/group${args[2]}/"
else
target="shippable/posix/"
fi
# shellcheck disable=SC2086
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
--docker "${image}"