TriggerRun
TriggerRun
type: "io.kestra.plugin.dbt.cloud.TriggerRun"
Trigger job to run.
Use this task to kick off a run for a job. When this endpoint returns a successful response, a new run will be enqueued for the account. If you activate the wait
option, it will wait for the job to be ended and will display all the log and dynamic tasks.
Examples
id: dbt_trigger_job_run
namespace: company.team
tasks:
- id: trigger_run
type: io.kestra.plugin.dbt.cloud.TriggerRun
accountId: "dbt_account"
token: "dbt_token"
jobId: "job_id"
Properties
accountId
- Type: string
- Dynamic: ✔️
- Required: ✔️
Numeric ID of the account.
baseUrl
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Default:
https://cloud.getdbt.com
Base url to select the tenant.
cause
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Default:
Triggered by Kestra.
A text description of the reason for running this job.
jobId
- Type: string
- Dynamic: ✔️
- Required: ✔️
Numeric ID of the job.
token
- Type: string
- Dynamic: ✔️
- Required: ✔️
API key.
dbtVersionOverride
- Type: string
- Dynamic: ✔️
- Required: ❌
Override the version of dbt used to run this job.
generateDocsOverride
- Type:
- boolean
- string
- Dynamic: ✔️
- Required: ❌
gitBranch
- Type: string
- Dynamic: ✔️
- Required: ❌
The git branch to check out before running this job.
gitSha
- Type: string
- Dynamic: ✔️
- Required: ❌
The git SHA to check out before running this job.
maxDuration
- Type:
- string
- string
- Dynamic: ✔️
- Required: ❌
parseRunResults
- Type:
- boolean
- string
- Dynamic: ✔️
- Required: ❌
pollFrequency
- Type:
- string
- string
- Dynamic: ✔️
- Required: ❌
schemaOverride
- Type: string
- Dynamic: ✔️
- Required: ❌
Override the destination schema in the configured target for this job.
stepsOverride
- Type: array
- SubType: string
- Dynamic: ✔️
- Required: ❌
Override the list of steps for this job.
targetNameOverride
- Type: string
- Dynamic: ✔️
- Required: ❌
Override the target.name context variable used when running this job.
threadsOverride
- Type: string
- Dynamic: ✔️
- Required: ❌
Override the number of threads used to run this job.
timeoutSecondsOverride
- Type:
- integer
- string
- Dynamic: ✔️
- Required: ❌
wait
- Type:
- boolean
- string
- Dynamic: ✔️
- Required: ❌
Outputs
manifest
- Type: string
- Required: ❌
- Format:
uri
URI of a manifest.
runId
- Type: integer
- Required: ❌
The run ID.
runResults
- Type: string
- Required: ❌
- Format:
uri
URI of a run result.
Definitions
Was this page helpful?