Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whoops, postgres:9.6.6 didn't go away, dockerhub is just not working …
…for circleci.
- Loading branch information
1 parent
5be8b42
commit a4bb90b
Showing
3 changed files
with
9 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#! /bin/bash | ||
|
||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6 psql -c "create database data_refinery" -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6 psql -c "CREATE ROLE data_refinery_user WITH LOGIN PASSWORD 'data_refinery_password';" -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6 psql -c 'GRANT ALL PRIVILEGES ON DATABASE data_refinery TO data_refinery_user;' -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6 psql -c 'ALTER USER data_refinery_user CREATEDB;' -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6 psql -c 'ALTER ROLE data_refinery_user superuser;' -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6 psql -c 'CREATE EXTENSION IF NOT EXISTS hstore;' -h postgres -U postgres -d data_refinery | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6.6 psql -c "create database data_refinery" -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6.6 psql -c "CREATE ROLE data_refinery_user WITH LOGIN PASSWORD 'data_refinery_password';" -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6.6 psql -c 'GRANT ALL PRIVILEGES ON DATABASE data_refinery TO data_refinery_user;' -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6.6 psql -c 'ALTER USER data_refinery_user CREATEDB;' -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6.6 psql -c 'ALTER ROLE data_refinery_user superuser;' -h postgres -U postgres | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6.6 psql -c 'CREATE EXTENSION IF NOT EXISTS hstore;' -h postgres -U postgres -d data_refinery |
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,2 +1,2 @@ | ||
#! /bin/bash | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6 psql -h postgres -U postgres -d data_refinery | ||
docker run -it -e PGPASSWORD=mysecretpassword --rm --link drdb:postgres postgres:9.6.6 psql -h postgres -U postgres -d data_refinery |