Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11ae6f9d98f0d0838a5e53c27032f178fecc4ee0
a499dda0f7802e37868d3f3076f62639165475d8
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cmd/account/credentials/credentials.go linguist-generated=true
cmd/account/csp-enablement-account/csp-enablement-account.go linguist-generated=true
cmd/account/custom-app-integration/custom-app-integration.go linguist-generated=true
cmd/account/disable-legacy-features/disable-legacy-features.go linguist-generated=true
cmd/account/disaster-recovery/disaster-recovery.go linguist-generated=true
cmd/account/enable-ip-access-lists/enable-ip-access-lists.go linguist-generated=true
cmd/account/encryption-keys/encryption-keys.go linguist-generated=true
cmd/account/endpoints/endpoints.go linguist-generated=true
Expand Down Expand Up @@ -151,6 +152,7 @@ cmd/workspace/resource-quotas/resource-quotas.go linguist-generated=true
cmd/workspace/restrict-workspace-admins/restrict-workspace-admins.go linguist-generated=true
cmd/workspace/rfa/rfa.go linguist-generated=true
cmd/workspace/schemas/schemas.go linguist-generated=true
cmd/workspace/secrets-uc/secrets-uc.go linguist-generated=true
cmd/workspace/secrets/secrets.go linguist-generated=true
cmd/workspace/service-principal-secrets-proxy/service-principal-secrets-proxy.go linguist-generated=true
cmd/workspace/service-principals-v2/service-principals-v2.go linguist-generated=true
Expand All @@ -159,12 +161,14 @@ cmd/workspace/settings/settings.go linguist-generated=true
cmd/workspace/shares/shares.go linguist-generated=true
cmd/workspace/sql-results-download/sql-results-download.go linguist-generated=true
cmd/workspace/storage-credentials/storage-credentials.go linguist-generated=true
cmd/workspace/supervisor-agents/supervisor-agents.go linguist-generated=true
cmd/workspace/system-schemas/system-schemas.go linguist-generated=true
cmd/workspace/table-constraints/table-constraints.go linguist-generated=true
cmd/workspace/tables/tables.go linguist-generated=true
cmd/workspace/tag-policies/tag-policies.go linguist-generated=true
cmd/workspace/temporary-path-credentials/temporary-path-credentials.go linguist-generated=true
cmd/workspace/temporary-table-credentials/temporary-table-credentials.go linguist-generated=true
cmd/workspace/temporary-volume-credentials/temporary-volume-credentials.go linguist-generated=true
cmd/workspace/token-management/token-management.go linguist-generated=true
cmd/workspace/tokens/tokens.go linguist-generated=true
cmd/workspace/users-v2/users-v2.go linguist-generated=true
Expand Down
33 changes: 29 additions & 4 deletions .github/workflows/tagging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ name: tagging
on:
# Manual dispatch.
workflow_dispatch:
# No inputs are required for the manual dispatch.
inputs:
packages:
description: 'Comma-separated list of packages to tag (e.g. "pkg1,pkg2"). Leave empty to tag all packages with pending releases.'
required: false
type: string
default: ''

# NOTE: Temporarily disable automated releases.
#
Expand All @@ -31,8 +36,8 @@ jobs:
github.repository == 'databricks/databricks-sdk-java'
environment: "release-is"
runs-on:
group: databricks-deco-testing-runner-group
labels: ubuntu-latest-deco
group: databricks-protected-runner-group
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer note: this file is generated by genkit, but this SDK bump also pulls in release workflow behavior changes such as the protected runner, explicit ref: main, package-scoped dispatch input, and created-tags artifact. Please give this release-tooling change an explicit review rather than treating it as routine command/schema regeneration.

labels: linux-ubuntu-latest
steps:
- name: Generate GitHub App Token
id: generate-token
Expand All @@ -44,6 +49,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# Force re-resolution of ``main`` at step time. Without
# ``ref:``, checkout pins to ``github.sha`` — the SHA frozen
# at workflow_dispatch time — which means re-running a stale
# dispatch checks out an older main even when newer commits
# exist.
ref: main
fetch-depth: 0
token: ${{ steps.generate-token.outputs.token }}

Expand All @@ -60,4 +71,18 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: uv run --locked internal/genkit/tagging.py
PACKAGES: ${{ inputs.packages }}
run: |
if [ -n "$PACKAGES" ]; then
uv run --locked internal/genkit/tagging.py --package "$PACKAGES"
else
uv run --locked internal/genkit/tagging.py
fi

- name: Upload created tags artifact
if: always()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: created-tags
path: created_tags.json
if-no-files-found: ignore
1 change: 1 addition & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
### Dependency updates

* Bump Go toolchain to 1.25.10 ([#5213](https://github.com/databricks/cli/pull/5213)).
* Bump `github.com/databricks/databricks-sdk-go` from v0.128.0 to v0.132.0.
2 changes: 1 addition & 1 deletion acceptance/auth/credentials/basic/out.requests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"Basic [ENCODED_AUTH]"
],
"User-Agent": [
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/basic"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/basic agent/multiple"
]
},
"method": "GET",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/auth/credentials/oauth/out.requests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"Bearer oauth-token"
],
"User-Agent": [
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/oauth-m2m"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/oauth-m2m agent/multiple"
]
},
"method": "GET",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/auth/credentials/pat/out.requests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"Bearer dapi1234"
],
"User-Agent": [
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/pat agent/multiple"
]
},
"method": "GET",
Expand Down
8 changes: 4 additions & 4 deletions acceptance/bundle/migrate/basic/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 3 unchanged
{
"headers": {
"User-Agent": [
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
]
},
"method": "GET",
Expand All @@ -63,7 +63,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 3 unchanged
{
"headers": {
"User-Agent": [
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
]
},
"method": "GET",
Expand All @@ -80,8 +80,8 @@ Updating deployment state...
Deployment complete!

>>> print_requests.py --get //jobs/get
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"

=== Should show that it's already migrated
>>> musterr [CLI] bundle deployment migrate
Expand Down
8 changes: 4 additions & 4 deletions acceptance/bundle/migrate/permissions/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 4 unchanged
{
"headers": {
"User-Agent": [
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
]
},
"method": "GET",
Expand All @@ -39,7 +39,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 4 unchanged
{
"headers": {
"User-Agent": [
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
]
},
"method": "GET",
Expand All @@ -56,8 +56,8 @@ Updating deployment state...
Deployment complete!

>>> print_requests.py --get //jobs/get
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"

=== Should show that it's already migrated
>>> musterr [CLI] bundle deployment migrate
Expand Down
Loading
Loading