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.
type: "io.kestra.plugin.dbt.cloud.TriggerRun"
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"
YES
Numeric ID of the account.
YES
Triggered by Kestra.
A text description of the reason for running this job.
YES
API key.
YES
https://cloud.getdbt.com
Base URL to select the tenant.
YES
Override the version of dbt used to run this job.
YES
Override whether or not this job generates docs.
YES
The git branch to check out before running this job.
YES
The git SHA to check out before running this job.
YES
Numeric ID of the job.
YES
PT1H
duration
The maximum total wait duration.
NO
The HTTP client configuration.
YES
true
Parse run result.
Parsing run result to display duration of each task inside dbt.
YES
PT5S
duration
Specify frequency for job state check API calls.
YES
Override the destination schema in the configured target for this job.
YES
Override the list of steps for this job.
YES
Override the target.name context variable used when running this job.
YES
Override the number of threads used to run this job.
YES
Override the timeout in seconds for this job.
YES
true
Wait for the end of the run.
Allowing to capture job status & logs.
uri
URI of a manifest.
The run ID.
uri
URI of a run result.
YES
duration
The time allowed to establish a connection to the server before failing.
YES
PT5M
duration
The time allowed for a read connection to remain idle before closing it.
YES
The password for HTTP basic authentication.
YES
The username for HTTP basic authentication.
YES
false
If true, allow a failed response code (response code >= 400)
NO
The authentification to use.
NO
The password for HTTP basic authentication.
NO
The username for HTTP basic authentication.
NO
duration
The time allowed to establish a connection to the server before failing.
NO
duration
The time an idle connection can remain in the client's connection pool before being closed.
YES
UTF-8
The default charset for the request.
YES
true
Whether redirects should be followed automatically.
NO
ALL
TRACE
DEBUG
INFO
WARN
ERROR
OFF
NOT_SPECIFIED
The log level for the HTTP client.
NO
REQUEST_HEADERS
REQUEST_BODY
RESPONSE_HEADERS
RESPONSE_BODY
The enabled log.
NO
The maximum content length of the response.
NO
The proxy configuration.
NO
The address of the proxy server.
NO
The password for proxy authentication.
NO
The port of the proxy server.
NO
DIRECT
HTTP
SOCKS
The type of proxy to use.
NO
The username for proxy authentication.
NO
duration
The time allowed for a read connection to remain idle before closing it.
NO
duration
The maximum time allowed for reading data from the server before failing.
NO
The SSL request options
NO
The timeout configuration.
YES
The address of the proxy server.
YES
The password for proxy authentication.
YES
The port of the proxy server.
YES
The username for proxy authentication.
YES
Whether to disable checking of the remote SSL certificate.
Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.
YES
The token for bearer token authentication.