Download:
child 224:668b4f6a8d60
parent 222:3192facc99bc
223:42b182d579fa
Anton Shestakov <av6@dwimlabs.net>, Fri, 12 Aug 2016 20:40:24 +0800
pipelines: set user and dir variables

1 файлов изменено, 2 вставок(+), 0 удалений(-) [+]
bitbucket-pipelines.yml file | annotate | diff | comparison | revisions
--- a/bitbucket-pipelines.yml Fri Aug 12 19:51:57 2016 +0800
+++ b/bitbucket-pipelines.yml Fri Aug 12 20:40:24 2016 +0800
@@ -22,11 +22,13 @@
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw --verbose
+ -e 'user=alice dir=/home/alice/files'
- pgrep -f '/usr/bin/prosody'
- pgrep nginx
- pgrep reTurnServer
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw
+ -e 'user=alice dir=/home/alice/files'
| grep -q 'changed=0.*failed=0'
&& { echo 'Idempotence test passed'; exit 0; }
|| { echo 'Idempotence test failed'; exit 1; }