Download:
child 287:3c70a6d50984
parent 285:30fd0d2a81ce
286:6d3e76c87568
Anton Shestakov <av6@dwimlabs.net>, Sat, 16 Sep 2017 22:37:13 +0800
pipelines: switch to Xenial, use Ansible from distro repos

1 файлов изменено, 4 вставок(+), 12 удалений(-) [+]
bitbucket-pipelines.yml file | annotate | diff | comparison | revisions
--- a/bitbucket-pipelines.yml Sat Sep 16 22:29:17 2017 +0800
+++ b/bitbucket-pipelines.yml Sat Sep 16 22:37:13 2017 +0800
@@ -1,4 +1,4 @@
-image: ubuntu:trusty
+image: ubuntu:xenial
pipelines:
default:
@@ -7,20 +7,12 @@
- 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
+ - apt-get update && apt-get install -y ansible
- echo localhost > inventory
- - ./venv/bin/ansible-playbook contrib/provision/playbook.yml
+ - ansible-playbook contrib/provision/playbook.yml
-i inventory --syntax-check
- - ./venv/bin/ansible-playbook contrib/provision/playbook.yml
+ - ansible-playbook contrib/provision/playbook.yml
-i inventory --list-tasks
- apt-get install -y npm