dbt Cloud - Download Logs and Artifacts to Shipyard
Download all of the Logs and Artifacts created by a single run on dbt Cloud.
This Vessel should run immediately after a Vessel built with the dbt Cloud - Check Run Status Blueprint. With this setup, you can leave the Run ID field blank and this Vessel will download the logs and artifacts of the recently completed run.
The steps of each run can be variable so we combine the log data from every step into one file.
- All of the debug logs will be stored under
- All of the console logs will be stored under
- All of the artifacts will be stored as separate files located under
shipyard-artifacts/dbtcloud-blueprints/artifacts/using their original name.
- The responses for this request will always be stored at
|Service Token||DBT_API_KEY||Password||✅||-||-||Your unique service token for dbt Cloud. Instructions for how to get this token can be found in the authorization documentation.|
|Account ID||DBT_ACCOUNT_ID||Alphanumeric||✅||-||-||Your unique Account ID, found in the URL of dbt Cloud. https://cloud.getdbt.com/#/accounts/ACCOUNT_ID/projects/PROJECT_ID/dashboard/|
|Run ID||DBT_RUN_ID||Alphanumeric||➖||-||-||The ID of a specific job you want to run, found in the URL of dbt Cloud. https://cloud.getdbt.com/#/accounts/ACCOUNT_ID/projects/PROJECT_ID/runs/RUN_ID/. If left blank, will try to find the run ID from an "Execute Job" Vessel that ran upstream.|
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
blueprint: dbt Cloud - Download Logs and Artifacts to Shipyard
DBT_API_KEY: null ## REQUIRED
DBT_ACCOUNT_ID: null ## REQUIRED