summaryrefslogtreecommitdiff
path: root/test/utils/shippable/galaxy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/shippable/galaxy.sh')
-rwxr-xr-xtest/utils/shippable/galaxy.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/utils/shippable/galaxy.sh b/test/utils/shippable/galaxy.sh
new file mode 100755
index 0000000000..90a8955e31
--- /dev/null
+++ b/test/utils/shippable/galaxy.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+set -o pipefail -eux
+
+declare -a args
+IFS='/:' read -ra args <<< "$1"
+
+python="${args[1]}"
+group="${args[2]}"
+
+target="shippable/galaxy/group${group}/"
+
+stage="${S:-prod}"
+
+# shellcheck disable=SC2086
+ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
+ --remote-terminate always --remote-stage "${stage}" --docker --python "${python}"