From 2b4818d2e19226cfa0a6cfc3292c99125ce006e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Gusm=C3=A3o?= Date: Thu, 22 Feb 2024 20:08:05 -0300 Subject: [PATCH 1/2] feat: add options to disable elementary models --- dbt_project.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dbt_project.yml b/dbt_project.yml index c22387eb..a0baa587 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -9,6 +9,13 @@ config-version: 2 # This setting configures which "profile" dbt uses for this project. profile: default +# Options to disable elementary models +vars: + disable_run_results: false + disable_tests_results: false + disable_dbt_artifacts_autoupload: false + disable_dbt_invocation_autoupload: false + # These configurations specify where dbt should look for different types of files. # The `source-paths` config, for example, states that models in this project can be # found in the "models/" directory. You probably won't need to change these! @@ -22,9 +29,7 @@ target-path: target # directory which will store compiled SQL files clean-targets: # directories to be removed by `dbt clean` - target - dbt_modules -# Disable metadata models updates: -vars: - disable_dbt_artifacts_autoupload: true + # Grant acess # bq data control: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-control-language # dbt grant statements use https://discourse.getdbt.com/t/the-exact-grant-statements-we-use-in-a-dbt-project/430 From 218cb9f7a14381c147108639aa997de7e9d84d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Gusm=C3=A3o?= Date: Thu, 22 Feb 2024 20:11:21 -0300 Subject: [PATCH 2/2] fix: add .yml extension --- .github/workflows/ci-dbt.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-dbt.yaml b/.github/workflows/ci-dbt.yaml index 6914c94a..e9f086d2 100644 --- a/.github/workflows/ci-dbt.yaml +++ b/.github/workflows/ci-dbt.yaml @@ -2,7 +2,7 @@ name: CI dbt on: pull_request: - paths: ['**.sql', '**.yaml'] + paths: ['**.sql', '**.yaml', '**.yml'] jobs: lint: name: Lint dbt