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