Download:
child 146:2d697b839e93
parent 144:a99149b73d11
145:8e4601811533
Anton Shestakov <av6@dwimlabs.net>, Sun, 30 Jul 2017 22:50:39 +0800
pipelines: it's too expensive to test provisioning

1 файлов изменено, 0 вставок(+), 19 удалений(-) [+]
bitbucket-pipelines.yml file | annotate | diff | comparison | revisions
--- a/bitbucket-pipelines.yml Sun Jul 30 22:50:06 2017 +0800
+++ b/bitbucket-pipelines.yml Sun Jul 30 22:50:39 2017 +0800
@@ -6,22 +6,3 @@
script:
- pip install -r REQUIREMENTS
- ./test.py
-
- - pip install ansible
- - ansible --version
- - echo localhost > inventory
- - ansible-playbook provision/playbook.yml
- -i inventory --syntax-check
- - ansible-playbook provision/playbook.yml
- -i inventory --list-tasks
-
- - apt-get update && apt-get install -y sudo supervisor
- - service supervisor restart
- - ansible-playbook provision/playbook.yml
- -i inventory --connection=local --skip-tags=ufw --verbose
- - pgrep -f 'fruitbar/venv/bin/gunicorn'
- - ansible-playbook provision/playbook.yml
- -i inventory --connection=local --skip-tags=ufw
- | grep -q 'changed=0.*failed=0'
- && { echo 'Idempotence test passed'; exit 0; }
- || { echo 'Idempotence test failed'; exit 1; }