132:926bee60cea5
Anton Shestakov <av6@dwimlabs.net>, Thu, 11 Aug 2016 18:31:20 +0800
pipelines: use a folded scalar (whatever that means)

next change 133:b99ebf84e286
previous change 131:be85d5073342

bitbucket-pipelines.yml

Permissions: -rw-r--r--

Other formats: Feeds:
image: python:2
pipelines:
default:
- step:
script:
- pip install -r REQUIREMENTS
- ./test.py
- pip install ansible
- ansible --version
- echo localhost > inventory
- ansible-playbook provision/playbook.yml
-i inventory --syntax-check
- ansible-playbook provision/playbook.yml
-i inventory --list-tasks
- apt-get update && apt-get install -y sudo supervisor
- service supervisor restart
- ansible-playbook provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw --verbose
- pgrep -f 'fruitbar/venv/bin/gunicorn'
- >
ansible-playbook provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw
| grep -q 'changed=0.*failed=0'
&& { echo 'Idempotence test: pass'; exit 0; }
|| { echo 'Idempotence test: fail'; exit 1; }