Skip to content

Commit 8e06a3e

Browse files
Merge branch 'databricks:main' into validate/for_each_task_validation
2 parents bafdc76 + daef3df commit 8e06a3e

File tree

1,069 files changed

+41863
-24663
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,069 files changed

+41863
-24663
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
59c4c0f3d5f0ef00cd5350b5674e941a7606d91a
1+
8f5eedbc991c4f04ce1284406577b0c92d59a224

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ cmd/account/encryption-keys/encryption-keys.go linguist-generated=true
1212
cmd/account/esm-enablement-account/esm-enablement-account.go linguist-generated=true
1313
cmd/account/federation-policy/federation-policy.go linguist-generated=true
1414
cmd/account/groups-v2/groups-v2.go linguist-generated=true
15+
cmd/account/groups.go linguist-generated=true
1516
cmd/account/iam-v2/iam-v2.go linguist-generated=true
1617
cmd/account/ip-access-lists/ip-access-lists.go linguist-generated=true
1718
cmd/account/llm-proxy-partner-powered-account/llm-proxy-partner-powered-account.go linguist-generated=true
@@ -97,6 +98,7 @@ cmd/workspace/git-credentials/git-credentials.go linguist-generated=true
9798
cmd/workspace/global-init-scripts/global-init-scripts.go linguist-generated=true
9899
cmd/workspace/grants/grants.go linguist-generated=true
99100
cmd/workspace/groups-v2/groups-v2.go linguist-generated=true
101+
cmd/workspace/groups.go linguist-generated=true
100102
cmd/workspace/instance-pools/instance-pools.go linguist-generated=true
101103
cmd/workspace/instance-profiles/instance-profiles.go linguist-generated=true
102104
cmd/workspace/ip-access-lists/ip-access-lists.go linguist-generated=true

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
/cmd/workspace/apps/ @databricks/eng-app-devex
88
/libs/apps/ @databricks/eng-app-devex
99
/acceptance/apps/ @databricks/eng-app-devex
10-
/experimental/aitools/ @databricks/eng-app-devex @pietern @lennartkats-db
11-
/experimental/apps-mcp/ @databricks/eng-app-devex @pietern @lennartkats-db
10+
/experimental/aitools/ @databricks/eng-app-devex @lennartkats-db
11+
/experimental/apps-mcp/ @databricks/eng-app-devex @lennartkats-db
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug report for direct deployment engine for DABs
3+
about: Use this to report an issue with direct deployment engine in Databricks Asset Bundles.
4+
labels: ["DABs", "engine/direct", "Bug"]
5+
title: ''
6+
---
7+
8+
### Describe the issue
9+
A clear and concise description of what the issue is
10+
11+
### Configuration
12+
Please provide a minimal reproducible configuration for the issue
13+
14+
### Steps to reproduce the behavior
15+
Please list the steps required to reproduce the issue, for example:
16+
1. Run `databricks bundle deploy ...`
17+
2. Run `databricks bundle run ...`
18+
3. See error
19+
20+
### Expected Behavior
21+
Clear and concise description of what should have happened
22+
23+
### Actual Behavior
24+
Clear and concise description of what actually happened
25+
26+
### OS and CLI version
27+
Please provide the version of the CLI (eg: v0.1.2) and the operating system (eg: windows). You can run databricks --version to get the version of your Databricks CLI
28+
29+
### Is this a regression?
30+
Did this work in a previous version of the CLI? If so, which versions did you try?
31+
32+
### Detailed plan
33+
34+
If relevant, please provide redacted output of `bundle plan -o json -t <your target>`. The plan includes reasons for a given action per resource.
35+
36+
### Debug Logs
37+
Output logs if you run the command with debug logs enabled. Example: databricks bundle deploy --log-level=debug. Redact if needed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: 'Setup Build Environment'
2+
description: 'Sets up the build environment with Go, Python, uv, and ruff'
3+
4+
inputs:
5+
cache-key:
6+
description: 'Cache key identifier for Go cache'
7+
required: true
8+
9+
runs:
10+
using: 'composite'
11+
steps:
12+
- name: Checkout repository and submodules
13+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
15+
- name: Create cache identifier
16+
run: echo "${{ inputs.cache-key }}" > cache.txt
17+
shell: bash
18+
19+
- name: Setup Go
20+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
21+
with:
22+
go-version-file: go.mod
23+
cache-dependency-path: |
24+
go.sum
25+
cache.txt
26+
27+
- name: Setup Python
28+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
29+
with:
30+
python-version: '3.13'
31+
32+
- name: Install uv
33+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
34+
with:
35+
version: "0.8.9"
36+
37+
- name: Install ruff (Python linter and formatter)
38+
uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1
39+
with:
40+
version: "0.9.1"
41+
args: "--version"
42+
43+
- name: Pull external libraries
44+
run: |
45+
go mod download
46+
pip3 install wheel==0.45.1
47+
shell: bash

.github/workflows/check.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: check
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
merge_group:
7+
types: [checks_requested]
8+
push:
9+
# Always run on push to main. The build cache can only be reused
10+
# if it was saved by a run from the repository's default branch.
11+
# The run result will be identical to that from the merge queue
12+
# because the commit is identical, yet we need to perform it to
13+
# seed the build cache.
14+
branches:
15+
- main
16+
17+
jobs:
18+
lint:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
24+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
25+
with:
26+
go-version-file: go.mod
27+
# Use different schema from regular job, to avoid overwriting the same key
28+
cache-dependency-path: |
29+
go.sum
30+
.golangci.yaml
31+
32+
- name: Run go mod tidy
33+
run: go mod tidy
34+
35+
- name: Fail if go.mod/go.sum changed
36+
run: git diff --exit-code
37+
38+
- name: Run Go lint checks (does not include formatting checks)
39+
run: go tool -modfile=tools/go.mod golangci-lint run --timeout=15m
40+
41+
- name: Run ruff (Python linter and formatter)
42+
uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1
43+
with:
44+
version: "0.9.1"
45+
args: "format --check"
46+
47+
- name: "make fmtfull: Python and Go formatting"
48+
# Python formatting is already checked above, but this also checks Go and YAML formatting
49+
# and verifies that the make command works correctly
50+
run: |
51+
make fmtfull
52+
git diff --exit-code
53+
54+
- name: "make checks: custom checks outside of fmt and lint"
55+
run: |-
56+
make checks
57+
git diff --exit-code

.github/workflows/integration-approve.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/integration-main.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/integration-pr.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)