Anton Shestakov <av6@dwimlabs.net>, Sat, 03 Dec 2016 13:25:38 +0800
pipelines: try and check SRI
bitbucket-pipelines.yml
Permissions: -rw-r--r--
- apt-get update && apt-get install -y - ./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' - ls -la /home/alice/files - pgrep -f '/usr/bin/prosody' - ./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' - if grep -q 'changed=0.*failed=0' ansible.log; then echo 'Idempotence test passed'; exit 0; echo 'Idempotence test failed'; exit 1; - contrib/updatesri.sh *.html - test $(HGPLAIN=1 hg d | wc -l) -eq 0