Download:
child 122:e46f050f6b7a
parent 120:d3d03451dfc0
121:57680c37b6b8
Anton Shestakov <av6@dwimlabs.net>, Thu, 11 Aug 2016 12:54:46 +0800
pipelines: let's try this

1 файлов изменено, 19 вставок(+), 0 удалений(-) [+]
bitbucket-pipelines.yml file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bitbucket-pipelines.yml Thu Aug 11 12:54:46 2016 +0800
@@ -0,0 +1,19 @@
+image: python:2
+
+pipelines:
+ default:
+ - step:
+ script:
+ - set -xe
+ - pip install -r REQUIREMENTS
+ - ./test.py
+ script:
+ - set -xe
+ - pip install ansible
+ - ansible --version
+ - ansible-playbook --syntax-check -vvvv provision/playbook.yml
+ - ansible-playbook --list-tasks -vvvv provision/playbook.yml
+ - echo localhost > inventory
+ - ansible-playbook -i inventory --connection=local --skip-tags=ufw -vvvv provision/playbook.yml
+ - pgrep -f 'fruitbar/venv/bin/gunicorn'
+ - ansible-playbook -i inventory --connection=local --skip-tags=ufw -vvvv provision/playbook.yml