Skip to content

Added support to generate Git based jobs#2304

Merged
andrewnester merged 9 commits into
mainfrom
feature/generate-git-jobs
Feb 7, 2025
Merged

Added support to generate Git based jobs#2304
andrewnester merged 9 commits into
mainfrom
feature/generate-git-jobs

Conversation

@andrewnester
Copy link
Copy Markdown
Contributor

Changes

This will generate bundle YAML configuration for Git based jobs but won't download any related files as they are in Git repo.

Fixes #1423

Tests

Added unit test

Comment thread cmd/bundle/generate/generate_test.go Outdated
Comment thread cmd/bundle/generate/job.go
Comment thread acceptance/server_test.go Outdated
Comment thread cmd/bundle/generate/generate_test.go Outdated
Comment thread acceptance/bundle/generate/git_job/test.toml
Comment thread cmd/bundle/generate/job.go Outdated
@pietern pietern disabled auto-merge February 7, 2025 15:22
Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
@andrewnester andrewnester added this pull request to the merge queue Feb 7, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 7, 2025
@andrewnester andrewnester added this pull request to the merge queue Feb 7, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 7, 2025
@andrewnester andrewnester added this pull request to the merge queue Feb 7, 2025
Merged via the queue into main with commit f8aaa7f Feb 7, 2025
@andrewnester andrewnester deleted the feature/generate-git-jobs branch February 7, 2025 18:45
andrewnester added a commit that referenced this pull request Feb 12, 2025
Bundles:
 * Added support to generate Git based jobs ([#2304](#2304)).
 * Added support for run_as in pipelines ([#2287](#2287)).
 * Raise an error when there are multiple local libraries with the same basename used ([#2297](#2297)).
 * Fix env variable for AzureCli local config ([#2248](#2248)).
 * Accept JSON files in includes section ([#2265](#2265)).
 * Always print warnings and errors; clean up format ([#2213](#2213))

API Changes:
 * Added `databricks account budget-policy` command group.
 * Added `databricks lakeview-embedded` command group.
 * Added `databricks query-execution` command group.
 * Changed `databricks serving-endpoints http-request` command to type `databricks serving-endpoints http-request` command.
 * Added `databricks account enable-ip-access-lists` command group.
 * Added `databricks redash-config` command group.

OpenAPI commit c72c58f97b950fcb924a90ef164bcb10cfcd5ece (2025-02-03)
Dependency updates:
 * Upgrade to TF provider 1.65.1 ([#2328](#2328)).
 * Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 ([#2273](#2273)).
 * Bump astral-sh/ruff-action from 3.0.1 to 3.1.0 ([#2274](#2274)).
 * Bump actions/stale from 9.0.0 to 9.1.0 ([#2275](#2275)).
 * Bump actions/create-github-app-token from 1.11.1 to 1.11.2 ([#2276](#2276)).
 * Bump github.com/hashicorp/terraform-exec from 0.21.0 to 0.22.0 ([#2237](#2237)).
 * Bump github.com/spf13/pflag from 1.0.5 to 1.0.6 ([#2281](#2281)).
 * Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0 ([#2321](#2321)).
 * Bump golang.org/x/oauth2 from 0.25.0 to 0.26.0 ([#2322](#2322)).
 * Bump golang.org/x/term from 0.28.0 to 0.29.0 ([#2325](#2325)).
 * Bump golang.org/x/text from 0.21.0 to 0.22.0 ([#2323](#2323)).
 * Bump golang.org/x/mod from 0.22.0 to 0.23.0 ([#2324](#2324)).
andrewnester added a commit that referenced this pull request Feb 12, 2025
Bundles:
* Added support to generate Git based jobs
([#2304](#2304)).
* Added support for run_as in pipelines
([#2287](#2287)).
* Raise an error when there are multiple local libraries with the same
basename used ([#2297](#2297)).
* Fix env variable for AzureCli local config
([#2248](#2248)).
* Accept JSON files in includes section
([#2265](#2265)).
* Always print warnings and errors; clean up format
([#2213](#2213))

API Changes:
 * Added `databricks account budget-policy` command group.
 * Added `databricks lakeview-embedded` command group.
 * Added `databricks query-execution` command group.
 * Added `databricks account enable-ip-access-lists` command group.
 * Added `databricks redash-config` command group.

OpenAPI commit c72c58f97b950fcb924a90ef164bcb10cfcd5ece (2025-02-03)
Dependency updates:
* Upgrade to TF provider 1.65.1
([#2328](#2328)).
* Bump github.com/hashicorp/terraform-exec from 0.21.0 to 0.22.0
([#2237](#2237)).
* Bump github.com/spf13/pflag from 1.0.5 to 1.0.6
([#2281](#2281)).
* Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0
([#2321](#2321)).
* Bump golang.org/x/oauth2 from 0.25.0 to 0.26.0
([#2322](#2322)).
* Bump golang.org/x/term from 0.28.0 to 0.29.0
([#2325](#2325)).
* Bump golang.org/x/text from 0.21.0 to 0.22.0
([#2323](#2323)).
* Bump golang.org/x/mod from 0.22.0 to 0.23.0
([#2324](#2324)).
denik pushed a commit that referenced this pull request May 20, 2026
## Changes
This will generate bundle YAML configuration for Git based jobs but
won't download any related files as they are in Git repo.

Fixes #1423 

## Tests
Added unit test

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
denik pushed a commit that referenced this pull request May 20, 2026
Bundles:
* Added support to generate Git based jobs
([#2304](#2304)).
* Added support for run_as in pipelines
([#2287](#2287)).
* Raise an error when there are multiple local libraries with the same
basename used ([#2297](#2297)).
* Fix env variable for AzureCli local config
([#2248](#2248)).
* Accept JSON files in includes section
([#2265](#2265)).
* Always print warnings and errors; clean up format
([#2213](#2213))

API Changes:
 * Added `databricks account budget-policy` command group.
 * Added `databricks lakeview-embedded` command group.
 * Added `databricks query-execution` command group.
 * Added `databricks account enable-ip-access-lists` command group.
 * Added `databricks redash-config` command group.

OpenAPI commit c72c58f97b950fcb924a90ef164bcb10cfcd5ece (2025-02-03)
Dependency updates:
* Upgrade to TF provider 1.65.1
([#2328](#2328)).
* Bump github.com/hashicorp/terraform-exec from 0.21.0 to 0.22.0
([#2237](#2237)).
* Bump github.com/spf13/pflag from 1.0.5 to 1.0.6
([#2281](#2281)).
* Bump github.com/databricks/databricks-sdk-go from 0.56.1 to 0.57.0
([#2321](#2321)).
* Bump golang.org/x/oauth2 from 0.25.0 to 0.26.0
([#2322](#2322)).
* Bump golang.org/x/term from 0.28.0 to 0.29.0
([#2325](#2325)).
* Bump golang.org/x/text from 0.21.0 to 0.22.0
([#2323](#2323)).
* Bump golang.org/x/mod from 0.22.0 to 0.23.0
([#2324](#2324)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bundle generate and git paths

4 participants