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