mirror of
https://github.com/harness/drone.git
synced 2025-05-02 05:30:13 +00:00
* initial work on local dev env * minor changes on makefile * pre-commit x permission added * readme updated and minor improvments in docker conf
7 lines
215 B
Bash
7 lines
215 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
|
CREATE DATABASE gitness_test;
|
|
GRANT ALL PRIVILEGES ON DATABASE gitness_test TO "$POSTGRES_USER";
|
|
EOSQL |