
Changes included: - non standard docker image (alpine-postgres) - new setting in vagrant-settings.yaml_defaults (solar_db_backend) - multidb logic in playbooks (databases.yaml) - possibility to set backend by SOLAR_DB_BACKEND in jenkins run.sh - packer images version 0.3.0.pre0 (pre builded docker image) Change-Id: Id48236aa778597ed787f8455ec4d4c869d0ef1cf Closes-bug: #1546205
28 lines
1016 B
YAML
28 lines
1016 B
YAML
---
|
|
|
|
- shell: docker --version
|
|
ignore_errors: true
|
|
register: docker_version
|
|
# This script is completely broken, it has so many sleeps...
|
|
- shell: curl -sSL https://get.docker.com/ | sudo sh
|
|
when: docker_version | failed
|
|
|
|
# Here's a raw paste of what the above script really does for Ubuntu
|
|
#- shell: apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
|
|
#- shell: mkdir -p /etc/apt/sources.list.d
|
|
#- shell: echo deb https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list
|
|
# args:
|
|
# creates: /etc/apt/sources.list.d/docker.list
|
|
#- shell: apt-get update
|
|
#- shell: apt-get install -y -q docker-engine
|
|
|
|
# pre download riak image
|
|
- shell: docker pull solarproject/riak
|
|
|
|
# prebuild pg container
|
|
- git: repo=https://github.com/kiasaki/docker-alpine-postgres.git dest=/tmp/docker-alpine-postgres update=yes
|
|
- shell: make build
|
|
args:
|
|
chdir: /tmp/docker-alpine-postgres
|
|
- shell: rm -fr /tmp/docker-alpine-postgres
|