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 +