
Generate API keys
Generate a Paradime API key with the Bolt schedules admin capability. Use an Account API key (aprdm_cmp_... Bearer token), and note your workspace token and API endpoint; you will add them as CI/CD variables in a later step.
Generate API keys
Create an Azure Pipeline
Now you will need to create a newazure-pipeline.yml file in your dbt™️ repository. Copy the code below.
This pipeline has two jobs:
paradime_turbo_ci— Runs the Turbo CI bolt schedule and passes theBOLT_RUN_IDto the next job.lineage_diff_report— Uses theBOLT_RUN_IDto trigger the lineage diff report and posts the result as a comment on the Pull Request.
Add the API keys and Credential in the Azure Pipeline variables
Finally you need to add the API key and credentials generated in the previous step in Azure Pipelines. Set the corresponding values using your credentials for the variable names:PARADIME_WORKSPACE_UIDPARADIME_API_SECRETPARADIME_API_ENDPOINT
Update Build Service User Permissions
You will need to add the Contribute to pull requests permission to enable Comments to be generated when opening the Pull Request. Go to Project Settings in Azure DevOps- Navigate to “Repositories” under Repos
- Select your repository
- Click “Security”
- Find “Project Collection Build Service” or “[Project Name] Build Service”
- Set “Contribute to pull requests” to allowed
