Merged PR 4888: Add FDW sync step

# Description

Changes the PR pipeline so that it syncs the FDW schemas.
This commit is contained in:
Pablo Martín 2025-04-02 13:24:52 +00:00
commit 4bef83f432

View file

@ -30,6 +30,12 @@ steps:
psql -h $POSTGRES_HOST -U $POSTGRES_USER -d postgres -c "SELECT 1 FROM pg_database WHERE datname = 'postgres';"
displayName: 'Smoke test Postgres connection'
- script: |
set -a && source .env && set +a
psql -h $POSTGRES_HOST -U $POSTGRES_USER -d prd-pointer -c "select refresh_foreign_schemas(ARRAY[$PRD_SCHEMAS_TO_SYNC]);"
displayName: 'Sync Foreign Data Wrappers schemas'
- script: |
cd ~/dbt-ci
/bin/bash build-master-artifacts.sh