Skip to content

Commit 36425b4

Browse files
committed
Merge branch 'main' into cluster-id-config-1897
2 parents b77aa73 + c5b1d72 commit 36425b4

88 files changed

Lines changed: 1048 additions & 865 deletions

File tree

Some content is hidden

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

.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-06-11 14:09:54+0000"
2+
"timestamp": "2025-06-18 14:17:14+0000"
33
}

CHANGELOG.md

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

3+
## Release v0.256.0
4+
5+
### Bundles
6+
* When building Python artifacts as part of "bundle deploy" we no longer delete `dist`, `build`, `*egg-info` and `__pycache__` directories ([#2982](https://github.com/databricks/cli/pull/2982))
7+
* When glob for wheels is used, like "\*.whl", it will filter out different version of the same package and will only take the most recent version ([#2982](https://github.com/databricks/cli/pull/2982))
8+
* Add preset `presets.artifacts_dynamic_version` that automatically enables `dynamic_version: true` on all "whl" artifacts ([#3074](https://github.com/databricks/cli/pull/3074))
9+
* Update client version to "2" for the serverless variation of the default-python template ([#3083](https://github.com/databricks/cli/pull/3083))
10+
* Fix reading dashboard contents when the sync root is different than the bundle root ([#3006](https://github.com/databricks/cli/pull/3006))
11+
* Fix variable resolution for lookup variables with other references ([#3054](https://github.com/databricks/cli/pull/3054))
12+
* Allow users to override the Terraform version to use by setting the `DATABRICKS_TF_VERSION` environment variable ([#3069](https://github.com/databricks/cli/pull/3069))
13+
14+
315
## Release v0.255.0
416

517
### Notable Changes

NEXT_CHANGELOG.md

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

3-
## Release v0.256.0
3+
## Release v0.257.0
44

55
### Notable Changes
66

@@ -10,9 +10,5 @@
1010
* Fixed an issue where running `databricks auth login` would remove the `cluster_id` field from profiles in `.databrickscfg`. The login process now preserves the `cluster_id` field. ([#2988](https://github.com/databricks/cli/pull/2988))
1111

1212
### Bundles
13-
* Fix reading dashboard contents when the sync root is different than the bundle root ([#3006](https://github.com/databricks/cli/pull/3006))
14-
* When glob for wheels is used, like "\*.whl", it will filter out different version of the same package and will only take the most recent version. ([#2982](https://github.com/databricks/cli/pull/2982))
15-
* When building Python artifacts as part of "bundle deploy" we no longer delete `dist`, `build`, `*egg-info` and `__pycache__` directories. ([#2982](https://github.com/databricks/cli/pull/2982))
16-
* Fix variable resolution for lookup variables with other references ([#3054](https://github.com/databricks/cli/pull/3054))
1713

1814
### API Changes

acceptance/acceptance_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ func testAccept(t *testing.T, inprocessMode bool, singleTest string) int {
171171
}
172172
t.Setenv("PATH", strings.Join(paths, string(os.PathListSeparator)))
173173

174-
tempHomeDir := t.TempDir()
175-
repls.SetPath(tempHomeDir, "[TMPHOME]")
176-
t.Logf("$TMPHOME=%v", tempHomeDir)
177-
178174
// Make use of uv cache; since we set HomeEnvVar to temporary directory, it is not picked up automatically
179175
uvCache := getUVDefaultCacheDir(t)
180176
t.Setenv("UV_CACHE_DIR", uvCache)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
presets:
2+
artifacts_dynamic_version: true
3+
4+
artifacts:
5+
first_wheel:
6+
type: whl
7+
build: uv build --wheel
8+
second_wheel:
9+
type: jar
10+
build: true
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"first_wheel": {
3+
"build": "uv build --wheel",
4+
"dynamic_version": true,
5+
"files": [
6+
{
7+
"source": "[TEST_TMP_DIR]/dist/*.whl"
8+
}
9+
],
10+
"path": "[TEST_TMP_DIR]",
11+
"type": "whl"
12+
},
13+
"second_wheel": {
14+
"build": "true",
15+
"path": "[TEST_TMP_DIR]",
16+
"type": "jar"
17+
}
18+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$CLI bundle validate -o json | jq .artifacts
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
RecordRequests = false
2+
3+
[[Repls]]
4+
Old = '\\\\'
5+
New = '/'

acceptance/bundle/debug/out.stderr.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
10:07:59 Debug: Apply pid=12345 mutator=CheckPermissions
5353
10:07:59 Debug: Apply pid=12345 mutator=TranslatePaths
5454
10:07:59 Debug: Apply pid=12345 mutator=PythonWrapperWarning
55+
10:07:59 Debug: Apply pid=12345 mutator=ApplyArtifactsDynamicVersion
5556
10:07:59 Debug: Apply pid=12345 mutator=artifacts.Prepare
5657
10:07:59 Info: No local tasks in databricks.yml config, skipping auto detect pid=12345 mutator=artifacts.Prepare
5758
10:07:59 Debug: Apply pid=12345 mutator=apps.Validate

acceptance/bundle/deploy/mlops-stacks/output.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,8 @@ Warning: unknown field: description
9090
The following resources will be deleted:
9191
delete job batch_inference_job
9292
delete job model_training_job
93-
delete mlflow_experiment experiment
94-
delete mlflow_model model
95-
delete permissions job_batch_inference_job
96-
delete permissions job_model_training_job
97-
delete permissions mlflow_experiment_experiment
98-
delete permissions mlflow_model_model
93+
delete experiment experiment
94+
delete model model
9995

10096
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/project_name_[UNIQUE_NAME]/dev
10197

0 commit comments

Comments
 (0)