mirror of https://github.com/ceph/ceph-ansible.git
travis: add ansible-galaxy integration
This instructs Travis to notify Galaxy when a build completes. Since 3.0 the ansible-galaxy has the ability to build and push roles from repos with multiple roles. Closes: https://github.com/ceph/ceph-ansible/issues/3165 Signed-off-by: Sébastien Han <seb@redhat.com>pull/3217/head
parent
49d4b65751
commit
9e87a5ae5e
12
.travis.yml
12
.travis.yml
|
@ -2,18 +2,10 @@ sudo: required
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
notifications:
|
notifications:
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
before_script:
|
|
||||||
- ansible-playbook build/build.yml
|
|
||||||
script:
|
script:
|
||||||
- docker container run --rm -it
|
- ansible-playbook -i '127.0.0.1,' site.yml.sample --syntax-check --list-tasks -vv
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock:ro
|
- ansible-playbook -i '127.0.0.1,' site-docker.yml.sample --syntax-check --list-tasks -vv
|
||||||
-v $(pwd):/role:ro
|
|
||||||
-e ANSIBLE_VERBOSITY=1
|
|
||||||
tecnativa/ansible-test-playground:lifecycle
|
|
||||||
create.yml destroy.yml
|
|
Loading…
Reference in New Issue