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