databricks-cli/bundle/tests
Pieter Noordhuis b88b35a510
Move mutator interface to top level bundle package (#105)
While working on artifact upload and workspace interrogation I realized
this mutator interface needs to:
1. Operate at the whole bundle level so it can apply to both
configuration and internal state
2. Include a `context.Context` parameter for a) long running operations
and b) progress reporting

Previous interface:
```
Apply(*config.Root) ([]Mutator, error)
```

New interface:
```
Apply(context.Context, *Bundle) ([]Mutator, error)
```
2022-11-28 10:59:43 +01:00
..
basic Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
environment_overrides Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
include_default Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
include_override Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
job_and_pipeline Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
yaml_anchors Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
README.md Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
basic_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
environment_overrides_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
include_default_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
include_override_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
job_and_pipeline_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
loader.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
yaml_anchors_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00

README.md

Bundle configuration tests

Every test here uses an example bundle configuration. Each bundle configuration is located in a dedicated subdirectory.