From 4cbff41b06b020248c05b31d0ebb492b49e07d48 Mon Sep 17 00:00:00 2001 From: laysabit Date: Wed, 13 Mar 2024 19:14:58 -0300 Subject: [PATCH] . --- .github/workflows/lint.yml | 4 ++-- profiles.yml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 profiles.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a106b8d..0945621 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: prod + DBT_TARGET: development DBT_DATASET: crypto_stellar DBT_MAX_BYTES_BILLED: 1000000000000 DBT_JOB_TIMEOUT: 300 @@ -43,4 +43,4 @@ jobs: - name: Checkout source branch and diff quality run: | git checkout ${{ github.ref_name }} - diff-quality --violations=sqlfluff --fail-under=80 \ No newline at end of file + diff-quality --violations=sqlfluff --fail-under=95 \ No newline at end of file diff --git a/profiles.yml b/profiles.yml new file mode 100644 index 0000000..b23a595 --- /dev/null +++ b/profiles.yml @@ -0,0 +1,17 @@ +stellar_dbt_public: + target: "{{ env_var('DBT_TARGET') }}" + outputs: + prod: + dataset: "" + maximum_bytes_billed: "{{ env_var('DBT_MAX_BYTES_BILLED') | as_number }}" + job_execution_timeout_seconds: "{{ env_var('DBT_JOB_TIMEOUT') | int }}" + threads: "{{ env_var('DBT_THREADS') | int }}" + job_retries: "{{ env_var('DBT_JOB_RETRIES') | int }}" + priority: interactive + project: crypto-stellar + location: us + method: oauth + type: bigquery + test: + <<: *default +