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 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