databricks-cli/libs/template
Denis Bilenko 03f2ff5a39
Support serverless mode in default-python template (explicit prompt) (#2377)
## Changes

- Add 'serverless' prompt to default-python template (default is
currently set to "no").
- This is a simplified version of
https://github.com/databricks/cli/pull/2348 with 'auto' functionality
removed.

## Tests
- Split default-python into default-python/classic,
default-python/serverless, default-python/serverless-customcatalog.
- Manually check that "bundle init default-python" with serverless=yes
can be deployed and run on dogfood and test env.
2025-02-26 14:07:30 +01:00
..
templates Support serverless mode in default-python template (explicit prompt) (#2377) 2025-02-26 14:07:30 +01:00
testdata Add the `bundle_uuid` helper function for templates (#1947) 2024-12-02 10:29:29 +00:00
builtin.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
builtin_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
config.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
config_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
file.go Use `filer.Filer` to write template instantiation (#1911) 2024-11-20 11:11:31 +01:00
file_test.go Set the write bit for files written during template initialization (#2068) 2025-01-08 13:18:28 +00:00
helpers.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
helpers_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
reader.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
reader_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
renderer.go Set the write bit for files written during template initialization (#2068) 2025-01-08 13:18:28 +00:00
renderer_test.go Support serverless mode in default-python template (explicit prompt) (#2377) 2025-02-26 14:07:30 +01:00
resolver.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
resolver_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
template.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
template_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
writer.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
writer_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00