2018-12-09 23:46:41 +00:00
|
|
|
---
|
2018-12-10 22:27:35 +00:00
|
|
|
language: python
|
|
|
|
|
2018-12-09 23:46:41 +00:00
|
|
|
services: docker
|
|
|
|
|
|
|
|
env:
|
|
|
|
- playbook: nas.yml
|
|
|
|
distro: ubuntu1804
|
|
|
|
test_syntax: true
|
|
|
|
test_playbook: false
|
|
|
|
test_idempotence: false
|
|
|
|
|
2018-12-10 22:27:35 +00:00
|
|
|
install:
|
|
|
|
- pip install ansible-lint
|
2018-12-29 18:06:00 +00:00
|
|
|
- pip install mkdocs
|
2018-12-29 18:15:50 +00:00
|
|
|
- pip install mkdocs-material
|
2018-12-10 22:27:35 +00:00
|
|
|
|
2018-12-09 23:46:41 +00:00
|
|
|
script:
|
2019-04-14 13:57:32 +00:00
|
|
|
- cp ${PWD}/group_vars/all.yml.dist ${PWD}/group_vars/all.yml
|
2018-12-10 22:27:35 +00:00
|
|
|
- ansible-lint ${PWD}/nas.yml
|
2018-12-29 18:06:00 +00:00
|
|
|
- ${PWD}/tests/test.sh
|
|
|
|
- mkdocs build
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip-cleanup: true
|
|
|
|
local-dir: site/
|
|
|
|
github-token: $GHPAGES
|
|
|
|
keep-history: true
|
|
|
|
on:
|
|
|
|
branch: master
|