Skip to content

Commit 68029e6

Browse files
Move Databricks bundle schemas to remote reference (#5624)
* Add databricks files to CODEOWNERS * Use dynamic reference to schema from databricks CLI release * Point catalog URL to Databricks CLI release schema * Update filename * Add more maintainers
1 parent de06f90 commit 68029e6

6 files changed

Lines changed: 8 additions & 12050 deletions

File tree

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,7 @@ src/negative_test/kya/ @wp-lkl
9797
src/schemas/json/specmatic.json @joelrosario @nashjain
9898
src/test/specmatic/ @joelrosario @nashjain
9999
src/negative_test/specmatic/ @joelrosario @nashjain
100+
101+
# Managed by Databricks team:
102+
src/schemas/json/databricks-asset-bundles.json @janniklasrose @shreyas-goenka @denik @andrewnester
103+
src/schemas/json/declarative-automation-bundles.json @janniklasrose @shreyas-goenka @denik @andrewnester

src/api/json/catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8445,7 +8445,7 @@
84458445
"name": "Declarative Automation Bundles",
84468446
"description": "Declarative Automation Bundles config",
84478447
"fileMatch": ["databricks.yml", "databricks.yaml"],
8448-
"url": "https://www.schemastore.org/declarative-automation-bundles.json"
8448+
"url": "https://github.com/databricks/cli/releases/latest/download/jsonschema.json"
84498449
},
84508450
{
84518451
"name": "JSON Schema Draft 4 (unofficial with '$ref' and 'format')",

src/schema-validation.jsonc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@
412412
"xunit-2.3.json",
413413
"xunit.runner.schema.json",
414414
"databricks-asset-bundles.json",
415+
"declarative-automation-bundles.json",
415416
"gitversion.json",
416417
"lazygit.json",
417418
"circleciconfig.json",
@@ -952,13 +953,6 @@
952953
"dart-build.json": {
953954
"unknownKeywords": ["deprecationMessage", "sources"]
954955
},
955-
"declarative-automation-bundles.json": {
956-
"unknownKeywords": [
957-
"deprecationMessage",
958-
"x-databricks-preview",
959-
"doNotSuggest"
960-
]
961-
},
962956
"dependabot-2.0.json": {
963957
"externalSchema": ["base.json"]
964958
},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"$ref": "declarative-automation-bundles.json"
2+
"$ref": "https://github.com/databricks/cli/releases/latest/download/jsonschema.json"
33
}

0 commit comments

Comments
 (0)