2016-10-12 23:57:53 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eux
|
2016-11-24 01:49:08 +01:00
|
|
|
set -o pipefail
|
2016-10-12 23:57:53 +02:00
|
|
|
|
|
|
|
# http://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x
|
|
|
|
MYTMPDIR=$(shell mktemp -d 2>/dev/null || mktemp -d -t 'ansible-testing-XXXXXXXXXX')
|
|
|
|
trap 'rm -rf "${MYTMPDIR}"' EXIT
|
|
|
|
|
|
|
|
# test for https://github.com/ansible/ansible/issues/13688
|
2016-11-24 01:49:08 +01:00
|
|
|
ANSIBLE_CONFIG='' ansible-pull -d "${MYTMPDIR}" -U https://github.com/ansible-test-robinro/pull-integration-test "$@"
|