solar/bootstrap/playbooks/databases.yaml
Jedrzej Nowak e7d7be55bd PG support in Vagrant and in test env
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
2016-02-16 17:53:32 +01:00

8 lines
313 B
YAML

- include: riak.yaml
when: lookup('env', 'SOLAR_DB_BACKEND') == "riak"
- include: postgres.yaml
when: lookup('env', 'SOLAR_DB_BACKEND') == "postgres"
- fail: msg="Invalid SOLAR_DB_BACKEND set"
when: (lookup('env', 'SOLAR_DB_BACKEND') != "riak") and
(lookup('env', 'SOLAR_DB_BACKEND') != "postgres")