Skip to content

Commit

Permalink
Update run.py (#103)
Browse files Browse the repository at this point in the history
Just added these 3 parameters to provide support for triggering CI runs in Github, Gitlab, and AD. As per [this PR](dbt-labs/dbt-cloud#8303) in dbt-cloud.
  • Loading branch information
Tonayya authored Sep 7, 2023
1 parent adf997b commit a08cc94
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dbt_cloud/command/job/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ class DbtCloudJobRunCommand(DbtCloudAccountCommand):
git_branch: Optional[str] = Field(
description="The git branch to check out before running this job"
)
azure_pull_request_id: Optional[int] = Field(
description="Include this for the run to be treated as CI and not cancel the previous run"
)
github_pull_request_id: Optional[int] = Field(
description="Include this for the run to be treated as CI and not cancel the previous run"
)
gitlab_merge_request_id: Optional[int] = Field(
description="Include this for the run to be treated as CI and not cancel the previous run"
)
schema_override: Optional[str] = Field(
description="Override the destination schema in the configured target for this job"
)
Expand Down

0 comments on commit a08cc94

Please sign in to comment.