283:ce693988c419
Anton Shestakov <av6@dwimlabs.net>, Sat, 16 Sep 2017 21:54:49 +0800
pipelines: retain node_modules between runs

next change 284:e22f9112672f
previous change 249:d1fe2e6ba413

bitbucket-pipelines.yml

Permissions: -rw-r--r--

Other formats: Feeds:
image: ubuntu:trusty
pipelines:
default:
- step:
caches:
- node
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 '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
- apt-get install -y curl
- contrib/updatesri.sh *.html
- hg d
- test $(HGPLAIN=1 hg d | wc -l) -eq 0