dbt_project.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. name: 'canary_environment'
  10. version: '1.0.0'
  11. config-version: 2
  12. profile: 'canary_environment'
  13. macro-paths: ["macros"]
  14. model-paths: ["models"]
  15. test-paths: ["tests"]
  16. target-path: "target" # directory which will store compiled SQL files
  17. clean-targets: # directories to be removed by `dbt clean`
  18. - "target"
  19. - "dbt_packages"
  20. models:
  21. canary_environment:
  22. loadgen:
  23. schema: loadgen
  24. post-hook: "GRANT ALL PRIVILEGES ON TABLE {{ this }} TO \"infra+bot@materialize.com\", \"infra+qacanaryload@materialize.io\""
  25. tpch:
  26. schema: tpch
  27. post-hook: "GRANT ALL PRIVILEGES ON TABLE {{ this }} TO \"infra+bot@materialize.com\", \"infra+qacanaryload@materialize.io\""
  28. pg_cdc:
  29. schema: pg_cdc
  30. post-hook: "GRANT ALL PRIVILEGES ON TABLE {{ this }} TO \"infra+bot@materialize.com\", \"infra+qacanaryload@materialize.io\""
  31. mysql_cdc:
  32. schema: mysql_cdc
  33. post-hook: "GRANT ALL PRIVILEGES ON TABLE {{ this }} TO \"infra+bot@materialize.com\", \"infra+qacanaryload@materialize.io\""
  34. table:
  35. schema: table
  36. post-hook: "GRANT ALL PRIVILEGES ON TABLE {{ this }} TO \"infra+bot@materialize.com\", \"infra+qacanaryload@materialize.io\""
  37. tests:
  38. +cluster: qa_canary_environment_compute