Pipelines not creating my database

Jason Novotny May 11, 2017

Hi,

 

        services:
          - postgres

definitions:
  services:
    postgres:
      image: postgres
      environment:
        POSTGRES_DB: 'foo'
        POSTGRES_USER: 'foo'
        POSTGRES_PASSWORD: 'foo'

I expected a database foo to be created for my unit tests, but it doesn't appear to be the case. Is there something more I can do? I also tried adding another script to do psql -c 'CREATE DATABASE foo;' but psql could not be found.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events