data-dwh-dbt-project/ci/ci-vm-setup.sh

9 lines
255 B
Bash
Raw Normal View History

2025-04-02 15:00:22 +02:00
# 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