dbt

This section is a work in progress and may be missing key details. If you need help using dbt Blueprints, reach out to support@shipyardapp.com

Authorization

Overview

dbt Blueprints will not work without first syncing your own Github repository. Follow this in-depth guide or the steps below before running.

Steps

  1. Add this script to the root directory of the Github repository where your dbt models live, with the file name of execute_dbt.py.

  2. Move your profiles.yml file to the root directory of the Github repository where your dbt models live.

  3. Connect Shipyard to the Github repository where your dbt models live. For in-depth instructions, follow this tutorial.

  4. Edit this Blueprint's code to be connected to the Github repository and branch/tag where your dbt models live. To edit the Blueprint: - Click Blueprints on the sidebar - Click the name of your dbt Blueprint - Click the Code tab at the top"

  5. If you used the default setting of cloning your Github repository to a folder with the repo's name, update the "File to Run" field to include the name of your repo as a folder. e.g. your_repo_name/execute_dbt.py If you opted to clone into the current working directory, do nothing.

  6. Click "Use this Blueprint" in the top-right corner to get started building a Vessel with the dbt Blueprint.

Execute CLI Command Blueprint

Overview

Once you have followed the Authroization steps for dbt Blueprints, type in any of the available dbt CLI commands.

This Blueprint supports the ability to run multiple commands with the use of &&.

e.g. dbt compile && dbt run

Variables

Screenshots

Helpful Links

Getting Started with dbt + Shipyard

dbt Documenation