246:4560368cfe4e
Anton Shestakov <av6@dwimlabs.net>, Sat, 03 Dec 2016 15:06:35 +0800
pipelines: run hg diff for users first, then check wc -l output

next change 248:b0ab699aeb36
previous change 245:e19acdbefd1a

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
- apt-get install -y npm
- make devel build
- hg d
- test $(HGPLAIN=1 hg d | wc -l) -eq 0
- contrib/updatesri.sh *.html
- hg d
- test $(HGPLAIN=1 hg d | wc -l) -eq 0