mirror of https://github.com/databricks/cli.git
d55652be07
## Changes This adds `mode: production` option. This mode doesn't do any transformations but verifies that an environment is configured correctly for production: ``` environments: prod: mode: production # paths should not be scoped to a user (unless a service principal is used) root_path: /Shared/non_user_path/... # run_as and permissions should be set at the resource level (or at the top level when that is implemented) run_as: user_name: Alice permissions: - level: CAN_MANAGE user_name: Alice ``` Additionally, this extends the existing `mode: development` option, * now prefixing deployed assets with `[dev your.user]` instead of just `[dev`] * validating that development deployments _are_ scoped to a user ## Related https://github.com/databricks/cli/pull/578/files (in draft) ## Tests Manual testing to validate the experience, error messages, and functionality with all resource types. Automated unit tests. --------- Co-authored-by: Fabian Jakobs <fabian.jakobs@databricks.com> |
||
---|---|---|
.. | ||
default_environment.go | ||
default_environment_test.go | ||
default_workspace_paths.go | ||
default_workspace_paths_test.go | ||
default_workspace_root.go | ||
default_workspace_root_test.go | ||
expand_workspace_root.go | ||
expand_workspace_root_test.go | ||
load_git_details.go | ||
mutator.go | ||
override_compute.go | ||
override_compute_test.go | ||
populate_current_user.go | ||
populate_current_user_test.go | ||
process_environment_mode.go | ||
process_environment_mode_test.go | ||
process_include.go | ||
process_include_test.go | ||
process_root_includes.go | ||
process_root_includes_test.go | ||
select_default_environment.go | ||
select_default_environment_test.go | ||
select_environment.go | ||
select_environment_test.go | ||
set_variables.go | ||
set_variables_test.go | ||
translate_paths.go | ||
translate_paths_test.go |