2017-06-28 21:15:44 +07:00
|
|
|
env:
|
2019-04-16 18:55:38 +07:00
|
|
|
- PLATFORM='docker-stretch-default-master' ANSIBLE_VERSION='ansible>=2.5,<2.6'
|
|
|
|
- PLATFORM='docker-stretch-upstream-master' ANSIBLE_VERSION='ansible>=2.5,<2.6'
|
|
|
|
- PLATFORM='docker-stretch-upstream-galera-1' ANSIBLE_VERSION='ansible>=2.5,<2.6'
|
|
|
|
- PLATFORM='docker-stretch-default-master' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-stretch-upstream-master' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-stretch-upstream-galera-1' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-stretch-default-master' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
|
|
|
- PLATFORM='docker-stretch-upstream-master' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
|
|
|
- PLATFORM='docker-stretch-upstream-galera-1' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
2017-06-29 15:29:12 +07:00
|
|
|
|
2016-09-25 17:47:36 +07:00
|
|
|
sudo: required
|
2016-09-23 22:54:35 +07:00
|
|
|
|
2016-09-25 18:28:30 +07:00
|
|
|
dist: trusty
|
|
|
|
|
2017-06-28 21:15:44 +07:00
|
|
|
language: python
|
2019-04-19 19:39:30 +07:00
|
|
|
python: 2.7
|
2017-06-28 21:15:44 +07:00
|
|
|
|
2016-09-25 18:28:30 +07:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2017-06-28 21:15:44 +07:00
|
|
|
before_install:
|
2018-02-27 14:13:21 +07:00
|
|
|
- wget https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb
|
|
|
|
- sudo dpkg -i vagrant_2.0.1_x86_64.deb
|
2017-06-28 21:27:36 +07:00
|
|
|
- vagrant plugin install vagrant-hostmanager
|
2017-06-28 21:15:44 +07:00
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install "$ANSIBLE_VERSION"
|
2016-09-23 22:54:35 +07:00
|
|
|
|
|
|
|
script:
|
2017-06-28 21:15:44 +07:00
|
|
|
- VAGRANT_DEFAULT_PROVIDER=docker vagrant up $PLATFORM
|
|
|
|
- >
|
|
|
|
VAGRANT_DEFAULT_PROVIDER=docker vagrant provision $PLATFORM
|
|
|
|
| grep -q 'changed=0.*failed=0'
|
|
|
|
&& (echo 'Idempotence test: pass' && exit 0)
|
|
|
|
|| (echo 'Idempotence test: fail' && exit 1)
|
|
|
|
- VAGRANT_DEFAULT_PROVIDER=docker vagrant status
|
2016-09-23 22:54:35 +07:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|