-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added multi-test environment for travis: postgres 9.0 tests, updated
travis config, updated current docker configs
- Loading branch information
1 parent
575c180
commit 9b012df
Showing
6 changed files
with
40 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
postgresql_common: | ||
build: pgclient/system_test | ||
build: ../pgclient/system_test | ||
environment: | ||
POSTGRES_PASSWORD: test # Set password for default (postgres) user | ||
PGPASSWORD: test # For using `psql -c ...` without password | ||
|
||
# Override | ||
command: echo "CREATE DATABASE test WITH OWNER postgres;" >> /docker-entrypoint-initdb.d/create_db.sql && /docker-entrypoint.sh | ||
PGPASSWORD: test # For using `psql -c ...` without password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM postgres:9.0 | ||
MAINTAINER Maksim Ekimovskii <ekimovsky.maksim@gmail.com> | ||
|
||
# Default user is postgres | ||
# ENV POSTGRES_PASSWORD: test | ||
|
||
# This dir is supported by official postgresql image | ||
# ENV PSQL_ENTRYPOINT /docker-entrypoint-initdb.d | ||
|
||
RUN echo "CREATE DATABASE test WITH OWNER postgres;" >> /docker-entrypoint-initdb.d/create_db.sql |