2018-11-29 13:59:10 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2019-06-03 14:16:16 -07:00
|
|
|
set -eux
|
2018-11-29 13:59:10 -05:00
|
|
|
|
2019-06-03 14:16:16 -07:00
|
|
|
export ANSIBLE_ROLES_PATH=../
|
2018-11-29 13:59:10 -05:00
|
|
|
|
|
|
|
# Test graceful failure for older versions of botocore
|
2019-06-03 14:16:16 -07:00
|
|
|
source virtualenv.sh
|
|
|
|
pip install 'boto3<1.6.0'
|
2019-08-14 00:10:41 -07:00
|
|
|
ansible-playbook -i ../../inventory -v playbooks/version_fail.yml "$@"
|
2018-11-29 13:59:10 -05:00
|
|
|
|
|
|
|
# Run full test suite
|
2019-06-03 14:16:16 -07:00
|
|
|
source virtualenv.sh
|
|
|
|
pip install 'boto3>1.6.0'
|
2019-08-14 00:10:41 -07:00
|
|
|
ansible-playbook -i ../../inventory -v playbooks/full_test.yml "$@"
|