Skip to content

Commit 8514c2f

Browse files
authored
Merge branch 'main' into run-events-1
2 parents 6c4a47f + 6fb92c1 commit 8514c2f

File tree

132 files changed

+915
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+915
-357
lines changed

.golangci.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,6 @@ linters:
4949
- all
5050
# disabled checks:
5151
- -ST1003
52-
- -ST1016
53-
- -ST1005
54-
- -ST1023
55-
- -QF1001
56-
- -QF1003
57-
- -QF1007
58-
- -QF1008
59-
- -QF1009
60-
- -QF1011
61-
- -QF1012
6252
testifylint:
6353
enable-all: true
6454
disable:

.release_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"timestamp": "2025-07-30 13:51:31+0000"
2+
"timestamp": "2025-08-06 13:16:04+0000"
33
}

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Version changelog
22

3+
## Release v0.263.0
4+
5+
### CLI
6+
* Show "DEFAULT" as the default profile for `databricks auth login` [#3252](https://github.com/databricks/cli/pull/3252)
7+
8+
### Bundles
9+
* Always set default value for source field for tasks if not explicitly set already ([#3359](https://github.com/databricks/cli/pull/3359))
10+
* Fix panic in auto completion handler for bundler run/open. Regression introduced in 0.259.0. [#3358](https://github.com/databricks/cli/pull/3358)
11+
* Fix error propagation in the `bundle generate dashboard` command. Regression introduced in 0.259.0. [#3354](https://github.com/databricks/cli/pull/3354)
12+
13+
314
## Release v0.262.0
415

516
### CLI

NEXT_CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# NEXT CHANGELOG
22

3-
## Release v0.263.0
3+
## Release v0.264.0
44

55
### Notable Changes
66

77
### Dependency updates
88

99
### CLI
10-
* Show "DEFAULT" as the default profile for `databricks auth login` [#3252](https://github.com/databricks/cli/pull/3252)
1110

1211
### Bundles
13-
* Fix panic in auto competion handler for bundler run/open. Regression introduced in 0.259.0.
1412

1513
### API Changes

acceptance/bundle/artifacts/whl_implicit_notebook/output.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ dist/my_test_code-0.0.1-py3-none-any.whl
2121
}
2222
],
2323
"notebook_task": {
24-
"notebook_path": "/notebook.py"
24+
"notebook_path": "/notebook.py",
25+
"source": "WORKSPACE"
2526
},
2627
"task_key": "TestTask"
2728
}

acceptance/bundle/debug/direct/out.stderr.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
10:07:59 Debug: Apply pid=12345 mutator=RewriteWorkspacePrefix
4141
10:07:59 Debug: Apply pid=12345 mutator=SetVariables
4242
10:07:59 Debug: Apply pid=12345 mutator=ResolveVariableReferences
43-
10:07:59 Debug: Apply pid=12345 mutator=ResolveResourceReferences
43+
10:07:59 Debug: Apply pid=12345 mutator=ResolveLookupVariables
4444
10:07:59 Debug: Apply pid=12345 mutator=ResolveVariableReferences
4545
10:07:59 Debug: Apply pid=12345 mutator=validate:volume-path
4646
10:07:59 Debug: Apply pid=12345 mutator=ApplyTargetMode

acceptance/bundle/debug/tf/out.stderr.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
10:07:59 Debug: Apply pid=12345 mutator=RewriteWorkspacePrefix
3939
10:07:59 Debug: Apply pid=12345 mutator=SetVariables
4040
10:07:59 Debug: Apply pid=12345 mutator=ResolveVariableReferences
41-
10:07:59 Debug: Apply pid=12345 mutator=ResolveResourceReferences
41+
10:07:59 Debug: Apply pid=12345 mutator=ResolveLookupVariables
4242
10:07:59 Debug: Apply pid=12345 mutator=ResolveVariableReferences
4343
10:07:59 Debug: Apply pid=12345 mutator=validate:volume-path
4444
10:07:59 Debug: Apply pid=12345 mutator=ApplyTargetMode

acceptance/bundle/deploy/experimental-python/output.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Deployment complete!
2424
"tasks": [
2525
{
2626
"notebook_task": {
27-
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files/my_notebook"
27+
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files/my_notebook",
28+
"source": "WORKSPACE"
2829
},
2930
"task_key": "my_notebook"
3031
}

acceptance/bundle/deploy/jobs/check-metadata/output.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"spark_version": "13.3.x-snapshot-scala2.12"
2424
},
2525
"notebook_task": {
26-
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files/foo"
26+
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files/foo",
27+
"source": "WORKSPACE"
2728
},
2829
"task_key": "my_notebook_task"
2930
}
@@ -62,7 +63,8 @@ Deployment complete!
6263
"spark_version": "13.3.x-snapshot-scala2.12"
6364
},
6465
"notebook_task": {
65-
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files/foo"
66+
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files/foo",
67+
"source": "WORKSPACE"
6668
},
6769
"task_key": "my_notebook_task"
6870
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
bundle:
2+
name: task-source
3+
4+
resources:
5+
jobs:
6+
git_job:
7+
name: git_job
8+
git_source:
9+
git_branch: main
10+
git_url: https://github.com/databricks/cli.git
11+
git_provider: github
12+
13+
tasks:
14+
- task_key: test_task_no_source
15+
notebook_task:
16+
notebook_path: ./notebook
17+
- task_key: test_task_source_workspace
18+
notebook_task:
19+
notebook_path: ./notebook.py
20+
source: WORKSPACE
21+
- task_key: test_task_foreach_no_source
22+
for_each_task:
23+
inputs: "[1]"
24+
task:
25+
task_key: test_task_foreach_no_source
26+
notebook_task:
27+
notebook_path: ./notebook.py
28+
- task_key: test_task_foreach_workspace
29+
for_each_task:
30+
inputs: "[1]"
31+
task:
32+
task_key: test_task_foreach_workspace
33+
notebook_task:
34+
notebook_path: ./notebook.py
35+
source: WORKSPACE
36+
37+
workspace_job:
38+
name: workspace_job
39+
tasks:
40+
- task_key: test_task_no_source
41+
notebook_task:
42+
notebook_path: ./notebook.py
43+
- task_key: test_task_foreach
44+
for_each_task:
45+
inputs: "[1]"
46+
task:
47+
task_key: test_task_foreach_no_source
48+
notebook_task:
49+
notebook_path: ./notebook.py

0 commit comments

Comments
 (0)