databricks-cli/cmd/bundle
shreyas-goenka 6002f49c87
Move bundle schema update to an internal module (#1012)
## Changes

This PR:
1. Move code to load bundle JSON Schema descriptions from the OpenAPI
spec to an internal Go module
2. Remove command line flags from the `bundle schema` command. These
flags were meant for internal processes and at no point were meant for
customer use.
3. Regenerate `bundle_descriptions.json`
4. Add support for `bundle: "deprecated"`. The `environments` field is
tagged as deprecated in this PR and consequently will no longer be a
part of the bundle schema.

## Tests
Tested by regenerating the CLI against its current OpenAPI spec (as
defined in `__openapi_sha`). The `bundle_descriptions.json` in this PR
was generated from the code generator.

Manually checked that the autocompletion / descriptions from the new
bundle schema are correct.
2023-12-06 10:45:18 +00:00
..
bundle.go Make configure command visible + fix bundle command description (#961) 2023-11-08 07:33:40 +00:00
deploy.go Correct name for force acquire deploy flag (#656) 2023-08-15 19:03:43 +00:00
destroy.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
init.go Add mlops-stacks to the default `databricks bundle init` prompt (#988) 2023-11-28 09:04:06 +00:00
init_test.go Add mlops-stacks to the default `databricks bundle init` prompt (#988) 2023-11-28 09:04:06 +00:00
launch.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
run.go Fix metadata computation for empty bundle (#939) 2023-11-02 11:00:30 +00:00
schema.go Move bundle schema update to an internal module (#1012) 2023-12-06 10:45:18 +00:00
sync.go Make `file_path` and `artifact_path` fields consistent with json tag (#987) 2023-11-15 13:37:26 +00:00
test.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
validate.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
variables.go Renamed `environments` to `targets` in bundle configuration (#670) 2023-08-17 15:22:32 +00:00