diff options
Diffstat (limited to 'test/utils')
l---------[-rwxr-xr-x] | test/utils/shippable/freebsd.sh | 23 | ||||
l---------[-rwxr-xr-x] | test/utils/shippable/osx.sh | 23 | ||||
-rwxr-xr-x | test/utils/shippable/remote.sh | 22 | ||||
l---------[-rwxr-xr-x] | test/utils/shippable/rhel.sh | 23 |
4 files changed, 25 insertions, 66 deletions
diff --git a/test/utils/shippable/freebsd.sh b/test/utils/shippable/freebsd.sh index cd3014ccac..6ddb776854 100755..120000 --- a/test/utils/shippable/freebsd.sh +++ b/test/utils/shippable/freebsd.sh @@ -1,22 +1 @@ -#!/usr/bin/env bash - -set -o pipefail -eux - -declare -a args -IFS='/:' read -ra args <<< "$1" - -platform="${args[0]}" -version="${args[1]}" - -if [ "${#args[@]}" -gt 2 ]; then - target="shippable/posix/group${args[2]}/" -else - target="shippable/posix/" -fi - -stage="${S:-prod}" -provider="${P:-default}" - -# shellcheck disable=SC2086 -ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ - --remote "${platform}/${version}" --remote-terminate always --remote-stage "${stage}" --remote-provider "${provider}" +remote.sh
\ No newline at end of file diff --git a/test/utils/shippable/osx.sh b/test/utils/shippable/osx.sh index cd3014ccac..6ddb776854 100755..120000 --- a/test/utils/shippable/osx.sh +++ b/test/utils/shippable/osx.sh @@ -1,22 +1 @@ -#!/usr/bin/env bash - -set -o pipefail -eux - -declare -a args -IFS='/:' read -ra args <<< "$1" - -platform="${args[0]}" -version="${args[1]}" - -if [ "${#args[@]}" -gt 2 ]; then - target="shippable/posix/group${args[2]}/" -else - target="shippable/posix/" -fi - -stage="${S:-prod}" -provider="${P:-default}" - -# shellcheck disable=SC2086 -ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ - --remote "${platform}/${version}" --remote-terminate always --remote-stage "${stage}" --remote-provider "${provider}" +remote.sh
\ No newline at end of file diff --git a/test/utils/shippable/remote.sh b/test/utils/shippable/remote.sh new file mode 100755 index 0000000000..cd3014ccac --- /dev/null +++ b/test/utils/shippable/remote.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +set -o pipefail -eux + +declare -a args +IFS='/:' read -ra args <<< "$1" + +platform="${args[0]}" +version="${args[1]}" + +if [ "${#args[@]}" -gt 2 ]; then + target="shippable/posix/group${args[2]}/" +else + target="shippable/posix/" +fi + +stage="${S:-prod}" +provider="${P:-default}" + +# shellcheck disable=SC2086 +ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ + --remote "${platform}/${version}" --remote-terminate always --remote-stage "${stage}" --remote-provider "${provider}" diff --git a/test/utils/shippable/rhel.sh b/test/utils/shippable/rhel.sh index cd3014ccac..6ddb776854 100755..120000 --- a/test/utils/shippable/rhel.sh +++ b/test/utils/shippable/rhel.sh @@ -1,22 +1 @@ -#!/usr/bin/env bash - -set -o pipefail -eux - -declare -a args -IFS='/:' read -ra args <<< "$1" - -platform="${args[0]}" -version="${args[1]}" - -if [ "${#args[@]}" -gt 2 ]; then - target="shippable/posix/group${args[2]}/" -else - target="shippable/posix/" -fi - -stage="${S:-prod}" -provider="${P:-default}" - -# shellcheck disable=SC2086 -ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ - --remote "${platform}/${version}" --remote-terminate always --remote-stage "${stage}" --remote-provider "${provider}" +remote.sh
\ No newline at end of file |