data-dwh-dbt-project/ci/ci-vm-setup.sh
Pablo Martin db0d97d2e8 wip
2025-04-02 15:56:34 +02:00

8 lines
255 B
Bash

# Start container
docker compose build -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
cp ci.profiles.yml ~/.dbt/profiles.yml