10 lines
326 B
Bash
10 lines
326 B
Bash
# Start container
|
|
docker compose -f ~/dbt-ci/docker-compose.yml --env-file ~/dbt-ci/.env up -d
|
|
|
|
# Run script to set things up in Postgres (DB, FDWs, etc)
|
|
|
|
envsubst < postgres-initial-setup.sql | psql -h $POSTGRES_HOST -U $POSTGRES_USER -d postgres
|
|
|
|
# Copy profiles file
|
|
mkdir -p ~/.dbt
|
|
cp ci.profiles.yml ~/.dbt/profiles.yml
|