dbt packages using git

We can use packages from a git repository, for example - https://github.com/kepungnzai/dbt-tutorial-setup.git

To do that we can update our packages.yml in the root folder - packages.yml 

packages:
  - package: dbt-labs/dbt_utils
    version: ">=1.3.0"
  - package: dbt-labs/audit_helper
    version: 0.14.0
  - git: https://github.com/kepungnzai/dbt-tutorial-setup.git
    revision: main

then run 

dbt deps

And dbt get the packages from git


And as you can see, the package apear under our folder - dbt_packages:-  







Comments

Popular posts from this blog

Windows SSH: Permissions for 'private-key' are too open

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20