244:ae37313c91c2
Anton Shestakov <av6@dwimlabs.net>, Sat, 03 Dec 2016 14:57:47 +0800
pipelines: more specific regex for ansible.log

next change 245:e19acdbefd1a
previous change 243:bdfbccd545be

bitbucket-pipelines.yml

Permissions: -rw-r--r--

Other formats: Feeds:
image: ubuntu:trusty
pipelines:
default:
- step:
script:
- apt-get update && apt-get install -y
build-essential
libffi-dev
libssl-dev
python-dev
python-virtualenv
- virtualenv ./venv
- ./venv/bin/pip install ansible
- ./venv/bin/ansible --version
- echo localhost > inventory
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --syntax-check
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --list-tasks
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw --verbose
-e 'user=alice dir=/home/alice/files'
- test -f /home/alice/files/index.html
- pgrep -f '/usr/bin/prosody'
- pgrep nginx
- pgrep reTurnServer
- ./venv/bin/ansible-playbook contrib/provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw
-t certs,nginx,prosody,turnserver,tram-im
-e 'user=alice dir=/home/alice/files'
| tee ansible.log
- egrep -q 'changed=0\s+unreachable=0\s+failed=0\s*$' ansible.log
- make devel build
- test $(HGPLAIN=1 hg d | wc -l) -eq 0
- contrib/updatesri.sh *.html
- test $(HGPLAIN=1 hg d | wc -l) -eq 0