mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
c5a9ba518b
* `Processors.process_zone_config` method added to allow processors that work with the zone config data. Configured with `manager.zone-processors: []`, default is ['dynamic-zone-config'] * Converted dynamic zone config to be a processors ^, if zone-processors are explicitely configured and dynamic zone config is desired `dyanmic-zone-config` must be included in the list as the desired position * Loads of additional testin/vetting for the above functionality
32 lines
660 B
YAML
32 lines
660 B
YAML
|
|
manager:
|
|
zone-processors:
|
|
- dynamic-zone-config
|
|
- this-does-not-exist
|
|
|
|
providers:
|
|
config:
|
|
# This helps us get coverage when printing out provider versions
|
|
class: helpers.TestYamlProvider
|
|
directory: tests/config
|
|
strict_supports: False
|
|
dump:
|
|
class: octodns.provider.yaml.YamlProvider
|
|
directory: env/YAML_TMP_DIR
|
|
supports_root_ns: False
|
|
strict_supports: False
|
|
|
|
processors:
|
|
# manually define the dynamic zone config, just to do it
|
|
dynamic-zone-config:
|
|
class: octodns.processor.zone.DynamicZoneConfigProcessor
|
|
|
|
zones:
|
|
unit.tests.:
|
|
processors:
|
|
- noop
|
|
sources:
|
|
- config
|
|
targets:
|
|
- dump
|