mirror of
https://github.com/roles-ansible/ansible_role_restic_archiver.git
synced 2024-08-16 10:09:49 +02:00
36 lines
666 B
YAML
36 lines
666 B
YAML
|
---
|
||
|
language: python
|
||
|
services: docker
|
||
|
|
||
|
env:
|
||
|
global:
|
||
|
- ROLE_NAME: restic
|
||
|
matrix:
|
||
|
- MOLECULE_DISTRO: centos7
|
||
|
- MOLECULE_DISTRO: centos6
|
||
|
- MOLECULE_DISTRO: ubuntu1804
|
||
|
- MOLECULE_DISTRO: debian9
|
||
|
- MOLECULE_DISTRO: debian10
|
||
|
|
||
|
install:
|
||
|
- pip install molecule docker
|
||
|
|
||
|
- git clone https://github.com/arillso/tests molecule/default/lint
|
||
|
|
||
|
before_script:
|
||
|
- cd ../
|
||
|
- mv ansible.$ROLE_NAME projectgroup.$ROLE_NAME
|
||
|
- cd projectgroup.$ROLE_NAME
|
||
|
|
||
|
script:
|
||
|
- molecule test
|
||
|
|
||
|
notifications:
|
||
|
webhooks:
|
||
|
urls:
|
||
|
- https://galaxy.ansible.com/api/v1/notifications/
|
||
|
on_success: always
|
||
|
email:
|
||
|
on_success: never
|
||
|
on_failure: always
|