Skip to content

Commit b84c6b6

Browse files
denikIsaac
andcommitted
Regenerate goldens with the new at/in lines; slash-normalize a test location
Co-authored-by: Isaac <no-reply@databricks.com>
1 parent 1b80ba8 commit b84c6b6

10 files changed

Lines changed: 24 additions & 1 deletion

File tree

‎acceptance/bundle/deploy/immutable-permissions-change/output.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Consider using a adding a top-level permissions section such as the following:
1919
level: CAN_MANAGE
2020

2121
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
22+
at permissions
2223
in databricks.yml:22:3
2324

2425
Recreated internal_immutable_snapshots.immutable
@@ -42,6 +43,7 @@ Consider using a adding a top-level permissions section such as the following:
4243
level: CAN_MANAGE
4344

4445
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
46+
at permissions
4547
in databricks.yml:22:3
4648

4749
The following resources will be deleted:

‎acceptance/bundle/migrate/auto/default/output.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
>>> [CLI] bundle summary
99
Warning: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
10+
at bundle.engine
1011
in databricks.yml:1:37
1112

1213
Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
@@ -26,6 +27,7 @@ Resources:
2627

2728
>>> [CLI] bundle summary -o json
2829
Warning: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
30+
at bundle.engine
2931
in databricks.yml:1:37
3032

3133
Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.

‎acceptance/bundle/migrate/auto/run-no-commit/output.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ ID Type Language Path
2424

2525
>>> [CLI] bundle run test_job --no-wait
2626
Warning: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
27+
at bundle.engine
2728
in databricks.yml:1:37
2829

2930
Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.

‎acceptance/bundle/migrate/command/engine-config-terraform/output.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
>>> musterr [CLI] bundle deployment migrate
33
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
4+
at bundle.engine
45
in databricks.yml:3:11
56

67
Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.

‎acceptance/bundle/migrate/command/runas/output.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Consider using a adding a top-level permissions section such as the following:
1414
level: CAN_MANAGE
1515

1616
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
17+
at permissions
1718
in databricks.yml:5:3
1819

1920
Notice: migrating your bundle to direct deployment engine (https://github.com/databricks/cli/issues/6765).
@@ -31,6 +32,7 @@ Consider using a adding a top-level permissions section such as the following:
3132
level: CAN_MANAGE
3233

3334
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
35+
at permissions
3436
in databricks.yml:5:3
3537

3638
Success! Migrated 2 resources to direct engine state file: [TEST_TMP_DIR]/.databricks/bundle/production/resources.json
@@ -55,6 +57,7 @@ Consider using a adding a top-level permissions section such as the following:
5557
level: CAN_MANAGE
5658

5759
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
60+
at permissions
5861
in databricks.yml:5:3
5962

6063
Plan: 0 to add, 0 to change, 0 to delete, 2 unchanged
@@ -70,6 +73,7 @@ Consider using a adding a top-level permissions section such as the following:
7073
level: CAN_MANAGE
7174

7275
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
76+
at permissions
7377
in databricks.yml:5:3
7478

7579

@@ -84,6 +88,7 @@ Consider using a adding a top-level permissions section such as the following:
8488
level: CAN_MANAGE
8589

8690
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
91+
at permissions
8792
in databricks.yml:5:3
8893

8994
The following resources will be deleted:

‎acceptance/bundle/presets/preset_vs_dev_mode/output.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Error: target with 'mode: development' cannot set trigger pause status to UNPAUSED by default
2+
at presets.trigger_pause_status
23
in databricks.yml:9:29
34

45
Name: preset

‎acceptance/bundle/run/scripts/no_content/output.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22
>>> [CLI] bundle run foo
33
Error: Script bar has no content
44
at scripts.bar.content
5+
in databricks.yml:7:14
56

67
Error: Script foo has no content
78
at scripts.foo.content
9+
in databricks.yml:5:7
810

911

1012
Exit code: 1
1113

1214
>>> [CLI] bundle run bar
1315
Error: Script bar has no content
1416
at scripts.bar.content
17+
in databricks.yml:7:14
1518

1619
Error: Script foo has no content
1720
at scripts.foo.content
21+
in databricks.yml:5:7
1822

1923

2024
Exit code: 1

‎acceptance/bundle/summary/engine-terraform/output.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
>>> [CLI] bundle summary
33
Warning: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
4+
at bundle.engine
45
in databricks.yml:3:11
56

67
Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
@@ -19,6 +20,7 @@ Resources:
1920

2021
>>> [CLI] bundle summary -o json
2122
Warning: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
23+
at bundle.engine
2224
in databricks.yml:3:11
2325

2426
Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
@@ -28,6 +30,7 @@ See https://docs.databricks.com/dev-tools/bundles/direct for details
2830

2931
>>> musterr [CLI] bundle validate
3032
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
33+
at bundle.engine
3134
in databricks.yml:3:11
3235

3336
Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.
@@ -40,6 +43,7 @@ Found 1 error
4043

4144
>>> musterr [CLI] bundle validate -o json
4245
Error: the Terraform deployment engine has been removed in Databricks CLI v1.20.0
46+
at bundle.engine
4347
in databricks.yml:3:11
4448

4549
Remove the "bundle.engine" setting (or set it to "direct") to deploy with the direct engine; existing Terraform state is migrated automatically. To keep using Terraform, revert to Databricks CLI v1.19.x.

‎acceptance/bundle/telemetry/deploy-workspace-folder-permissions/output.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Consider using a adding a top-level permissions section such as the following:
4444
level: CAN_MANAGE
4545

4646
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
47+
at permissions
4748
in databricks.yml:23:7
4849

4950
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/user_not_declared/files...
@@ -107,6 +108,7 @@ Consider using a adding a top-level permissions section such as the following:
107108
level: CAN_MANAGE
108109

109110
See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more about permission configuration.
111+
at permissions
110112
in databricks.yml:47:7
111113

112114
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/shared_users_can_manage/files...

‎bundle/tests/sync_include_exclude_no_matches_test.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package config_tests
33
import (
44
"fmt"
55
"path"
6+
"path/filepath"
67
"testing"
78

89
"github.com/databricks/cli/bundle"
@@ -28,7 +29,7 @@ func TestSyncIncludeExcludeNoMatchesTest(t *testing.T) {
2829
// Locations are filled from Paths by logdiag when the diagnostic is logged.
2930
locations := b.Config.GetLocationsOf(diags[0].Paths[0])
3031
assert.Len(t, locations, 1)
31-
require.Equal(t, locations[0].File, path.Join("sync", "override", "databricks.yml"))
32+
require.Equal(t, path.Join("sync", "override", "databricks.yml"), filepath.ToSlash(locations[0].File))
3233
require.Equal(t, 17, locations[0].Line)
3334
require.Equal(t, 11, locations[0].Column)
3435

0 commit comments

Comments
 (0)