diff --git a/ci/.azure-pipelines.pr.yml b/ci/.azure-pipelines.pr.yml index c12223a..3f5eb2c 100644 --- a/ci/.azure-pipelines.pr.yml +++ b/ci/.azure-pipelines.pr.yml @@ -33,7 +33,7 @@ steps: - 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]);" + 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: | @@ -83,7 +83,7 @@ steps: - script: | set -a && source .env && set +a - psql -h $POSTGRES_HOST -U $POSTGRES_USER -d prd-pointer -c "DROP SCHEMA IF EXISTS $CI_SCHEMA_NAME CASCADE;" + psql -h $POSTGRES_HOST -U $POSTGRES_USER -d prd_pointer -c "DROP SCHEMA IF EXISTS $CI_SCHEMA_NAME CASCADE;" displayName: "Preemptive DROP SCHEMA" @@ -125,7 +125,7 @@ steps: - script: | set -a && source .env && set +a - psql -h $POSTGRES_HOST -U $POSTGRES_USER -d prd-pointer -c "DROP SCHEMA IF EXISTS $CI_SCHEMA_NAME CASCADE;" + psql -h $POSTGRES_HOST -U $POSTGRES_USER -d prd_pointer -c "DROP SCHEMA IF EXISTS $CI_SCHEMA_NAME CASCADE;" condition: always() displayName: 'Delete PR schema' \ No newline at end of file diff --git a/ci/ci.profiles.yml b/ci/ci.profiles.yml index 06190b1..fab5dfa 100644 --- a/ci/ci.profiles.yml +++ b/ci/ci.profiles.yml @@ -1,7 +1,7 @@ dwh_dbt: outputs: - prd-pointer: - dbname: prd-pointer + prd_pointer: + dbname: prd_pointer host: "{{ env_var('POSTGRES_HOST') }}" port: "{{ env_var('POSTGRES_PORT') | as_number }}" schema: public @@ -10,4 +10,4 @@ dwh_dbt: type: postgres threads: 1 - target: prd-pointer \ No newline at end of file + target: prd_pointer \ No newline at end of file