Anton Shestakov <av6@dwimlabs.net>, Fri, 12 Aug 2016 18:46:51 +0800
pipelines: install build-essential too
bitbucket-pipelines.yml
Permissions: -rw-r--r--
- apt-get update && apt-get install -y build-essential python-dev python-virtualenv - ./venv/bin/pip install ansible - echo localhost > inventory - ansible-playbook provision/playbook.yml -i inventory --syntax-check - ansible-playbook provision/playbook.yml -i inventory --list-tasks - ansible-playbook provision/playbook.yml -i inventory --connection=local --skip-tags=ufw --verbose - pgrep -f '/usr/bin/prosody' - 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; }