diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7ace1f6..9fc1a11 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ on: env: DBT_DEFAULT_PROFILE_TARGET: stellar_dbt_public DBT_PROFILES_DIR: ${{ github.workspace }} - DBT_TARGET: development + DBT_TARGET: prod DBT_MAX_BYTES_BILLED: 1000000000000 DBT_JOB_TIMEOUT: 300 DBT_THREADS: 1 diff --git a/ci_profiles.sh b/ci_profiles.sh index 711f5fd..efc7d9d 100644 --- a/ci_profiles.sh +++ b/ci_profiles.sh @@ -6,9 +6,9 @@ echo "writing file profiles.yml" mkdir ~/.dbt echo "stellar_dbt_public:" >> ~/.dbt/profiles.yml -echo " target: development" >> ~/.dbt/profiles.yml +echo " target: prod" >> ~/.dbt/profiles.yml echo " outputs:" >> ~/.dbt/profiles.yml -echo " development:" >> ~/.dbt/profiles.yml +echo " prod:" >> ~/.dbt/profiles.yml echo " dataset: crypto_stellar" >> ~/.dbt/profiles.yml echo " maximum_bytes_billed: 1000000000000" >> ~/.dbt/profiles.yml echo " job_execution_timeout_seconds: 300" >> ~/.dbt/profiles.yml diff --git a/profiles.yml b/profiles.yml index 545aa58..0bb38ce 100644 --- a/profiles.yml +++ b/profiles.yml @@ -28,7 +28,7 @@ stellar_dbt: method: service-account stellar_dbt_public: - target: "{{ env_var('DBT_TARGET') }}" + target: prod outputs: prod: dataset: "crypto_stellar"