diff --git a/.github/workflows/angers_models_run.yml b/.github/workflows/angers_models_run.yml index 4b14306..a649b5a 100644 --- a/.github/workflows/angers_models_run.yml +++ b/.github/workflows/angers_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '0 5 * * *' env: - DBNAME_PROD: ${{ secrets.ANGERS_DBNAME_PROD }} + DBNAME: ${{ secrets.ANGERS_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/cese_models_run.yml b/.github/workflows/cese_models_run.yml index a7174ab..9ed0087 100644 --- a/.github/workflows/cese_models_run.yml +++ b/.github/workflows/cese_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '0 8 * * *' env: - DBNAME_PROD: ${{ secrets.CESE_DBNAME_PROD }} + DBNAME: ${{ secrets.CESE_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/cour_des_comptes_models_run.yml b/.github/workflows/cour_des_comptes_models_run.yml index c773f95..76e6b9d 100644 --- a/.github/workflows/cour_des_comptes_models_run.yml +++ b/.github/workflows/cour_des_comptes_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '0 8 * * *' env: - DBNAME_PROD: ${{ secrets.COUR_DES_COMPTES_DBNAME_PROD }} + DBNAME: ${{ secrets.COUR_DES_COMPTES_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/demo_models_run.yml b/.github/workflows/demo_models_run.yml index 9f524b6..8c1bcbc 100644 --- a/.github/workflows/demo_models_run.yml +++ b/.github/workflows/demo_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '30 9 * * *' env: - DBNAME_PROD: ${{ secrets.DEMO_DBNAME_PROD }} + DBNAME: ${{ secrets.DEMO_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 31740b8..5dbf848 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -65,7 +65,7 @@ jobs: - name: Configure db name and participation host name run: | - echo "DBNAME_DEV=${{ secrets[env.DB_SECRET_NAME] }}" >> $GITHUB_ENV + echo "DBNAME=${{ secrets[env.DB_SECRET_NAME] }}" >> $GITHUB_ENV echo "PARTICIPATION_HOST_NAME=${{ secrets[env.PARTICIPATION_HOST_NAME] }}" >> $GITHUB_ENV - name: Run dbt test diff --git a/.github/workflows/grand_nancy_models_run.yml b/.github/workflows/grand_nancy_models_run.yml index 7f0869c..dbb0c0a 100644 --- a/.github/workflows/grand_nancy_models_run.yml +++ b/.github/workflows/grand_nancy_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '30 6 * * *' env: - DBNAME_PROD: ${{ secrets.GRAND_NANCY_DBNAME_PROD }} + DBNAME: ${{ secrets.GRAND_NANCY_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/lyon_models_run.yml b/.github/workflows/lyon_models_run.yml index aeb7558..163e5dd 100644 --- a/.github/workflows/lyon_models_run.yml +++ b/.github/workflows/lyon_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '0 5 * * *' env: - DBNAME_PROD: ${{ secrets.LYON_DBNAME_PROD }} + DBNAME: ${{ secrets.LYON_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/marseille_models_run.yml b/.github/workflows/marseille_models_run.yml index f1a5c0a..36ac682 100644 --- a/.github/workflows/marseille_models_run.yml +++ b/.github/workflows/marseille_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '30 7 * * *' env: - DBNAME_PROD: ${{ secrets.MARSEILLE_DBNAME_PROD }} + DBNAME: ${{ secrets.MARSEILLE_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/sytral_models_run.yml b/.github/workflows/sytral_models_run.yml index 5d42962..914b89d 100644 --- a/.github/workflows/sytral_models_run.yml +++ b/.github/workflows/sytral_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '30 7 * * *' env: - DBNAME_PROD: ${{ secrets.SYTRAL_DBNAME_PROD }} + DBNAME: ${{ secrets.SYTRAL_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/thionville_models_run.yml b/.github/workflows/thionville_models_run.yml index 1f09972..7167c47 100644 --- a/.github/workflows/thionville_models_run.yml +++ b/.github/workflows/thionville_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '30 7 * * *' env: - DBNAME_PROD: ${{ secrets.THIONVILLE_DBNAME_PROD }} + DBNAME: ${{ secrets.THIONVILLE_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/toulouse_models_run.yml b/.github/workflows/toulouse_models_run.yml index 3f82074..67540b1 100644 --- a/.github/workflows/toulouse_models_run.yml +++ b/.github/workflows/toulouse_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '0 5 * * *' env: - DBNAME_PROD: ${{ secrets.TOULOUSE_DBNAME_PROD }} + DBNAME: ${{ secrets.TOULOUSE_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/tours_models_run.yml b/.github/workflows/tours_models_run.yml index e839103..5d14adf 100644 --- a/.github/workflows/tours_models_run.yml +++ b/.github/workflows/tours_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '0 8 * * *' env: - DBNAME_PROD: ${{ secrets.TOURS_DBNAME_PROD }} + DBNAME: ${{ secrets.TOURS_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/.github/workflows/valbonne_models_run.yml b/.github/workflows/valbonne_models_run.yml index 851d237..57de666 100644 --- a/.github/workflows/valbonne_models_run.yml +++ b/.github/workflows/valbonne_models_run.yml @@ -6,7 +6,7 @@ on: - cron: '0 5 * * *' env: - DBNAME_PROD: ${{ secrets.valbonne_DBNAME_PROD }} + DBNAME: ${{ secrets.valbonne_DBNAME_PROD }} HOST: ${{ secrets.HOST }} PASSWORD: ${{ secrets.PASSWORD }} PORT: ${{ secrets.PORT }} diff --git a/projects/angers/dbt_project.yml b/projects/angers/dbt_project.yml index 56cb447..59cc042 100644 --- a/projects/angers/dbt_project.yml +++ b/projects/angers/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/angers/profiles.yml b/projects/angers/profiles.yml index 31c00bb..6199469 100644 --- a/projects/angers/profiles.yml +++ b/projects/angers/profiles.yml @@ -2,7 +2,7 @@ angers: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ angers: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/cese/dbt_project.yml b/projects/cese/dbt_project.yml index fab76bd..ec7cdc4 100644 --- a/projects/cese/dbt_project.yml +++ b/projects/cese/dbt_project.yml @@ -24,6 +24,7 @@ clean-targets: # directories to be removed by `dbt clean` - "dbt_packages" vars: + dbname: "{{ env_var('DBNAME') }}" target_schema: "{{ env_var('TARGET_SCHEMA') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" diff --git a/projects/cese/profiles.yml b/projects/cese/profiles.yml index 5bf4cd8..0ffc17e 100644 --- a/projects/cese/profiles.yml +++ b/projects/cese/profiles.yml @@ -2,7 +2,7 @@ cese: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ cese: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/cour_des_comptes/dbt_project.yml b/projects/cour_des_comptes/dbt_project.yml index fdc4bef..8569926 100644 --- a/projects/cour_des_comptes/dbt_project.yml +++ b/projects/cour_des_comptes/dbt_project.yml @@ -22,7 +22,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/cour_des_comptes/profiles.yml b/projects/cour_des_comptes/profiles.yml index c68291a..00feccd 100644 --- a/projects/cour_des_comptes/profiles.yml +++ b/projects/cour_des_comptes/profiles.yml @@ -2,7 +2,7 @@ cour_des_comptes: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ cour_des_comptes: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/demo/.env.example b/projects/demo/.env.example index 4e71a24..118c1e8 100644 --- a/projects/demo/.env.example +++ b/projects/demo/.env.example @@ -1,4 +1,4 @@ -DBNAME_DEV= +DBNAME= HOST= PASSWORD= PORT= diff --git a/projects/demo/dbt_project.yml b/projects/demo/dbt_project.yml index 6eac1f4..e2c93a9 100644 --- a/projects/demo/dbt_project.yml +++ b/projects/demo/dbt_project.yml @@ -24,6 +24,7 @@ clean-targets: # directories to be removed by `dbt clean` - "dbt_packages" vars: + dbname: "{{ env_var('DBNAME') }}" target_schema: "{{ env_var('TARGET_SCHEMA') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" diff --git a/projects/demo/profiles.yml b/projects/demo/profiles.yml index b3f3854..d6923b1 100644 --- a/projects/demo/profiles.yml +++ b/projects/demo/profiles.yml @@ -2,7 +2,7 @@ demo: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,12 +11,11 @@ demo: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" schema: "{{ env_var('TARGET_SCHEMA') }}" threads: 1 type: postgres - user: "{{ env_var('USER') }}" - + user: "{{ env_var('USER') }}" \ No newline at end of file diff --git a/projects/grand_nancy/dbt_project.yml b/projects/grand_nancy/dbt_project.yml index e527829..f1e6151 100644 --- a/projects/grand_nancy/dbt_project.yml +++ b/projects/grand_nancy/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/grand_nancy/profiles.yml b/projects/grand_nancy/profiles.yml index f6039b0..66681b7 100644 --- a/projects/grand_nancy/profiles.yml +++ b/projects/grand_nancy/profiles.yml @@ -2,7 +2,7 @@ grand_nancy: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ grand_nancy: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/lyon/dbt_project.yml b/projects/lyon/dbt_project.yml index 0621b29..bb6aa02 100644 --- a/projects/lyon/dbt_project.yml +++ b/projects/lyon/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/lyon/profiles.yml b/projects/lyon/profiles.yml index 1761e54..01cc42a 100644 --- a/projects/lyon/profiles.yml +++ b/projects/lyon/profiles.yml @@ -2,7 +2,7 @@ lyon: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ lyon: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/marseille/dbt_project.yml b/projects/marseille/dbt_project.yml index 78422ee..b64ed25 100644 --- a/projects/marseille/dbt_project.yml +++ b/projects/marseille/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/marseille/profiles.yml b/projects/marseille/profiles.yml index 512c19c..ca991f1 100644 --- a/projects/marseille/profiles.yml +++ b/projects/marseille/profiles.yml @@ -2,7 +2,7 @@ marseille: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ marseille: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/sytral/dbt_project.yml b/projects/sytral/dbt_project.yml index 28d8fd9..5fc39a7 100644 --- a/projects/sytral/dbt_project.yml +++ b/projects/sytral/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/sytral/profiles.yml b/projects/sytral/profiles.yml index ecd895b..03e1cdb 100644 --- a/projects/sytral/profiles.yml +++ b/projects/sytral/profiles.yml @@ -2,7 +2,7 @@ sytral: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ sytral: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/thionville/dbt_project.yml b/projects/thionville/dbt_project.yml index a0614b9..f2ea9e5 100644 --- a/projects/thionville/dbt_project.yml +++ b/projects/thionville/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/thionville/profiles.yml b/projects/thionville/profiles.yml index 9f135c0..4e96d2a 100644 --- a/projects/thionville/profiles.yml +++ b/projects/thionville/profiles.yml @@ -2,7 +2,7 @@ thionville: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ thionville: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/toulouse/dbt_project.yml b/projects/toulouse/dbt_project.yml index cea5c1c..2398d4d 100644 --- a/projects/toulouse/dbt_project.yml +++ b/projects/toulouse/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/toulouse/profiles.yml b/projects/toulouse/profiles.yml index 8835ed9..34545c4 100644 --- a/projects/toulouse/profiles.yml +++ b/projects/toulouse/profiles.yml @@ -2,7 +2,7 @@ toulouse: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ toulouse: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/tours/dbt_project.yml b/projects/tours/dbt_project.yml index 6d074b9..f2d5fe2 100644 --- a/projects/tours/dbt_project.yml +++ b/projects/tours/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars: +vars: + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" # Configuring models diff --git a/projects/tours/profiles.yml b/projects/tours/profiles.yml index 95ca0f8..88cf6a4 100644 --- a/projects/tours/profiles.yml +++ b/projects/tours/profiles.yml @@ -2,7 +2,7 @@ tours: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ tours: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" diff --git a/projects/valbonne/dbt_project.yml b/projects/valbonne/dbt_project.yml index 3eea9f8..c0714e3 100644 --- a/projects/valbonne/dbt_project.yml +++ b/projects/valbonne/dbt_project.yml @@ -23,7 +23,8 @@ clean-targets: # directories to be removed by `dbt clean` - "target" - "dbt_packages" -vars : +vars : + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('PARTICIPATION_HOST_NAME') }}" diff --git a/projects/valbonne/profiles.yml b/projects/valbonne/profiles.yml index 67e4146..835f81b 100644 --- a/projects/valbonne/profiles.yml +++ b/projects/valbonne/profiles.yml @@ -2,7 +2,7 @@ valbonne: target: dev outputs: dev: - dbname: "{{ env_var('DBNAME_DEV') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}" @@ -11,7 +11,7 @@ valbonne: type: postgres user: "{{ env_var('USER') }}" prod: - dbname: "{{ env_var('DBNAME_PROD') }}" + dbname: "{{ env_var('DBNAME') }}" host: "{{ env_var('HOST') }}" pass: "{{ env_var('PASSWORD') }}" port: "{{ env_var('PORT') | as_number }}"