You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for running specified job tasks instead of all job tasks (#3388)
## Changes
Added support for running specified job tasks instead of all job tasks.
This change introduces a new flag `--only` for the `bundle run` command
when executed on a job.
It allows specifying which specific tasks out of all in the jobs to run.
Usage
```
databricks bundle run my_job --only task_1,task_2
```
## Why
The feature was relatively recently added to Jobs API
https://docs.databricks.com/api/workspace/jobs/runnow#only
## Tests
Added an acceptance tests.
Skipped running on Cloud because the test is really slow but verified
manually it works as expected too.
<!-- If your PR needs to be included in the release notes for next
release,
add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
---------
Co-authored-by: Pieter Noordhuis <[email protected]>
Copy file name to clipboardExpand all lines: NEXT_CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,5 +15,6 @@
15
15
* Changed logic for resolving `${resources...}` references. Previously this would be done by terraform at deploy time. Now if it references a field that is present in the config, it will be done by DABs during bundle loading ([#3370](https://github.com/databricks/cli/pull/3370))
16
16
* Add support for tagging pipelines ([#3086](https://github.com/databricks/cli/pull/3086))
17
17
* Add warning for when an invalid value is specified for an enum field ([#3050](https://github.com/databricks/cli/pull/3050))
18
+
* Add support for running specified job tasks instead of all job tasks ([#3388](https://github.com/databricks/cli/pull/3388))
0 commit comments