Skip to content

Commit 9cbd231

Browse files
committed
Merge branch 'main' into ssh-tunnel-integ-tests
2 parents 6afa56c + ab4e802 commit 9cbd231

File tree

1,656 files changed

+11102
-7347
lines changed

Some content is hidden

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

1,656 files changed

+11102
-7347
lines changed

.codegen.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"api_changelog": true,
44
"formatter": "go run golang.org/x/tools/cmd/goimports@latest -w $FILENAMES && go fmt ./...",
55
"version": {
6-
"experimental/python/README.md": "version $VERSION or above",
7-
"experimental/python/databricks/bundles/version.py": "__version__ = \"$VERSION\"",
8-
"experimental/python/pyproject.toml": "version = \"$VERSION\"",
9-
"experimental/python/uv.lock": "name = \"databricks-bundles\"\nversion = \"$VERSION\"",
10-
"libs/template/templates/experimental-jobs-as-code/library/versions.tmpl": "{{define \"latest_databricks_bundles_version\" -}}$VERSION{{- end}}"
11-
"libs/template/templates/default-python/library/versions.tmpl": "{{define \"latest_databricks_bundles_version\" -}}$VERSION{{- end}}"
6+
"python/README.md": "version $VERSION or above",
7+
"python/databricks/bundles/version.py": "__version__ = \"$VERSION\"",
8+
"python/pyproject.toml": "version = \"$VERSION\"",
9+
"python/uv.lock": "name = \"databricks-bundles\"\nversion = \"$VERSION\"",
10+
"libs/template/templates/experimental-jobs-as-code/library/versions.tmpl": "{{define \"latest_databricks_bundles_version\" -}}$VERSION{{- end}}",
11+
"libs/template/templates/default/library/versions.tmpl": "{{define \"latest_databricks_bundles_version\" -}}$VERSION{{- end}}"
1212
},
1313
"toolchain": {
1414
"required": [

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c4784cea599325a13472b1455e7434d639362d8b
1+
e2018bb00cba203508f8afe5a6d41bd49789ba25

.github/workflows/push.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: echo "${{ matrix.deployment }}" > deployment-type.txt
5555

5656
- name: Setup Go
57-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
57+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
5858
with:
5959
go-version-file: go.mod
6060
cache-dependency-path: |
@@ -67,7 +67,7 @@ jobs:
6767
python-version: '3.13'
6868

6969
- name: Install uv
70-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
70+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
7171
with:
7272
version: "0.8.9"
7373

@@ -107,7 +107,7 @@ jobs:
107107
runs-on: ubuntu-latest
108108
steps:
109109
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
110+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
111111
with:
112112
go-version-file: go.mod
113113
# Use different schema from regular job, to avoid overwriting the same key
@@ -147,7 +147,7 @@ jobs:
147147
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
148148

149149
- name: Setup Go
150-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
150+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
151151
with:
152152
go-version-file: go.mod
153153
# Use different schema from regular job, to avoid overwriting the same key
@@ -209,17 +209,17 @@ jobs:
209209
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
210210

211211
- name: Install uv
212-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
212+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
213213
with:
214214
version: "0.6.5"
215215

216216
- name: Verify that python/codegen is up to date
217-
working-directory: experimental/python
217+
working-directory: python
218218
run: |-
219219
make codegen
220220
221221
if ! ( git diff --exit-code ); then
222-
echo "Generated Python code is not up-to-date. Please run 'pushd experimental/python && make codegen' and commit the changes."
222+
echo "Generated Python code is not up-to-date. Please run 'pushd python && make codegen' and commit the changes."
223223
224224
exit 1
225225
fi

.github/workflows/python_push.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
pull_request:
55
types: [opened, synchronize]
66
paths:
7-
- experimental/python/**
7+
- python/**
88
merge_group:
99
types: [checks_requested]
1010
paths:
11-
- experimental/python/**
11+
- python/**
1212
push:
1313
# Always run on push to main. The build cache can only be reused
1414
# if it was saved by a run from the repository's default branch.
@@ -33,13 +33,13 @@ jobs:
3333
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434

3535
- name: Install uv
36-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
36+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
3737
with:
3838
python-version: ${{ matrix.pyVersion }}
3939
version: "0.6.5"
4040

4141
- name: Run tests
42-
working-directory: experimental/python
42+
working-directory: python
4343
run: make test
4444

4545
python_linters:
@@ -51,12 +51,12 @@ jobs:
5151
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5252

5353
- name: Install uv
54-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
54+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
5555
with:
5656
version: "0.6.5"
5757

5858
- name: Run lint
59-
working-directory: experimental/python
59+
working-directory: python
6060
run: make lint
6161

6262
python_docs:
@@ -68,10 +68,10 @@ jobs:
6868
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6969

7070
- name: Install uv
71-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
71+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
7272
with:
7373
version: "0.6.5"
7474

7575
- name: Run docs
76-
working-directory: experimental/python
76+
working-directory: python
7777
run: make docs

.github/workflows/release-snapshot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fetch-tags: true
3333

3434
- name: Setup Go
35-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
35+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
3636
with:
3737
go-version-file: go.mod
3838

@@ -54,21 +54,21 @@ jobs:
5454
args: release --snapshot --skip docker
5555

5656
- name: Upload macOS binaries
57-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
57+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5858
with:
5959
name: cli_darwin_snapshot
6060
path: |
6161
dist/*_darwin_*/
6262
6363
- name: Upload Linux binaries
64-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
64+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
6565
with:
6666
name: cli_linux_snapshot
6767
path: |
6868
dist/*_linux_*/
6969
7070
- name: Upload Windows binaries
71-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
71+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
7272
with:
7373
name: cli_windows_snapshot
7474
path: |
@@ -88,7 +88,7 @@ jobs:
8888
# Snapshot release may only be updated for commits to the main branch.
8989
if: github.ref == 'refs/heads/main'
9090

91-
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
91+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
9292
with:
9393
name: Snapshot
9494
prerelease: true

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
fetch-tags: true
2525

2626
- name: Setup Go
27-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
27+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
2828
with:
2929
go-version-file: go.mod
3030

@@ -178,15 +178,15 @@ jobs:
178178
fetch-tags: true
179179

180180
- name: Install uv
181-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
181+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
182182
with:
183183
version: "0.6.5"
184184

185185
- name: Build wheel
186-
working-directory: experimental/python
186+
working-directory: python
187187
run: make build
188188

189189
- name: Publish package distributions to PyPI
190-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
190+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
191191
with:
192-
packages-dir: experimental/python/dist
192+
packages-dir: python/dist

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ tools/golangci-lint
4242

4343
# Release artifacts
4444
dist/
45+
46+
# Local development notes, tmp
47+
/pr-*
48+
/tmp/

.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-10-22 10:53:54+0000"
2+
"timestamp": "2025-11-05 15:14:22+0000"
33
}

.wsignore

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.codegen/_openapi_sha
44
.release_metadata.json
55
bundle/schema/jsonschema.json
6-
experimental/python/docs/images/databricks-logo.svg
6+
python/docs/images/databricks-logo.svg
77
**/*.dist-info/METADATA
88
**/*.dist-info/WHEEL
99

@@ -17,29 +17,15 @@ experimental/python/docs/images/databricks-logo.svg
1717
# In order to prevent that difference, hello.txt does not have a trailing newline.
1818
acceptance/selftest/record_cloud/volume-io/hello.txt
1919

20-
# error output when artifact build fails contains trailing whitespace:
21-
acceptance/bundle/artifacts/shell/err-bash/output.txt
22-
acceptance/bundle/artifacts/shell/err-sh/output.txt
23-
24-
# "bundle init" has trailing whitespace:
25-
acceptance/bundle/templates-machinery/helpers-error/output.txt
26-
27-
# "bundle deploy" with apps has trailing whitespace:
28-
integration/bundle/testdata/apps/bundle_deploy.txt
29-
30-
# Extra whitespace in test output:
31-
acceptance/bundle/resource_deps/bad_syntax/out.plan.terraform.txt
32-
acceptance/bundle/upload/internal_server_error/output.txt
33-
34-
# Extra whitespace in command help:
35-
acceptance/cmd/workspace/apps/output.txt
20+
# bundle commands leave empty lines at the end; too many to list individually:
21+
acceptance/**/out*.txt
3622

3723
# Extra whitespace in generated commands:
3824
cmd/workspace/**/*.go
3925
cmd/account/**/*.go
4026

4127
# Extra whitespace in generated Python models
42-
experimental/python/databricks/bundles/*/_models/*.py
28+
python/databricks/bundles/*/_models/*.py
4329

4430
# Developed elsewhere:
4531
internal/genkit/tagging.py

0 commit comments

Comments
 (0)