1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

108 Commits

Author SHA1 Message Date
Ross McFarland
6d778b3b67 Include tests of secret_handlers from config yaml and some of that's implementation details 2024-02-18 14:25:59 -08:00
Ross McFarland
60bc4193f8 configured secret handlers & tests of that configuration 2024-02-10 21:45:43 -05:00
Ross McFarland
ca2c7112a1 Secrets handlers support
Add functionality that enables configurable secrets sources, with a
hard-coded `env` that provides the existing environmental variable
support.
2024-02-10 20:58:21 -05:00
Martin Frausing
68e1178ac7 Add list_zones to AutoArpa
- This makes it possible to use dynamic zone config with AutoArpa
- Document what gotchas that entails
- Add tests both with another source (for generating zones to populate) and without (no zones to populate)
2024-01-05 13:59:49 +01:00
Ross McFarland
d35022b9dc Merge branch 'main' into checksumming 2023-12-22 09:30:34 -08:00
Ross McFarland
98a1175399 Update tests/test_octodns_manager.py 2023-12-13 08:25:00 -08:00
Ross McFarland
9e1aa7b8ed Apply suggestions from code review 2023-12-13 08:22:28 -08:00
Alizey Jalil
dc4addc837 Removed the specific config file used missing zone test use case 2023-12-13 21:22:16 +05:30
Alizey Jalil
a2a502987e Added test for missing zone 2023-12-13 21:22:16 +05:30
Alizey Jalil
c816fe7af0 Added test for missing zone file 2023-12-13 21:22:16 +05:30
Ross McFarland
780fa2a24b Add support for checksum matching 2023-12-11 13:27:49 -08:00
Ross McFarland
4c09f4bc71 Support for nested config env variable expansion 2023-12-05 10:29:49 -08:00
Ross McFarland
5568dc6be1 Add Processor.process_source_and_target_zones 2023-11-29 14:08:19 -08:00
Ross McFarland
d2baf6db8f Prefer __version__ over __VERSION__ internally, fallback when referencing modules 2023-11-12 15:46:28 -08:00
Viranch Mehta
e92c1079c9 Fix wrong re-use of sources for dynamic zones 2023-09-18 21:16:50 -07:00
Kiran Naidoo
b20113e1a9 Fix typo when loading auto-arpa config
Resolved a typo that prevented the auto-arpa configuration options from
loading.
2023-09-14 15:09:02 +01:00
Ross McFarland
45974099fd Merge branch 'main' into dynamic-zones 2023-08-06 10:26:47 -06:00
Ross McFarland
49bdf9e4df octodns-dump support all zones, including dynamic-config 2023-07-29 08:36:46 -07:00
Ross McFarland
ebe9374405 Clean up context cases, full test coverage 2023-07-28 18:52:32 -07:00
Ross McFarland
1776d558b5 POC of config/validation errors with context. Implemented by YAML for all it's cases 2023-07-28 17:14:01 -07:00
Ross McFarland
4b4b907584 Testing for manager's use of list_zones for dynamically configured zones 2023-07-28 14:34:50 -07:00
Ross McFarland
42ade94c33 Merge branch 'main' into delayed-arpa 2023-02-07 11:31:38 -08:00
Ross McFarland
6be0a8133a isort import formatting 2023-01-22 13:54:19 -08:00
Ross McFarland
172f6a333b fully check auto_arpa and eligible_* usage for safety 2023-01-20 18:11:49 -08:00
Ross McFarland
bc6a2d8067 working auto-arpa setup 2023-01-19 10:04:39 -08:00
Ross McFarland
6cb81cb15e Support for delaying arpa processing 2023-01-19 08:23:39 -08:00
Ross McFarland
bd13f8dab1 Manager.get_zone used everywhere rather than direct create 2022-11-20 09:24:28 -08:00
Ross McFarland
9f20efc887 Remove a stray pprint in a test 2022-09-29 15:35:05 -07:00
Ross McFarland
1f2bb8860a Revert "WIP/expiriments with auto-arpa"
This reverts commit 8b82159ee0.
2022-09-29 14:35:28 -07:00
Ross McFarland
8b82159ee0 WIP/expiriments with auto-arpa 2022-09-27 07:16:54 -07:00
Ross McFarland
d7880c084d Remove from __futures__ bits, all are now manditory 2022-09-15 14:10:21 -07:00
Ross McFarland
0f57e6c63e Implement manager.processors for configuring global processors 2022-09-12 15:28:51 -07:00
Ross McFarland
b4792707f8 Merge remote-tracking branch 'origin/main' into idna-internally 2022-09-12 14:56:01 -07:00
Ross McFarland
fa4225b625 Fix lots of errant '...' '...' string joins 2022-09-06 12:47:47 -07:00
Ross McFarland
2d0f2ccc5c Add idna tests of eligible_zones and fix some messages/bugs 2022-08-18 20:10:11 -07:00
Ross McFarland
a3ceb1f409 Extract Manager zones configuration, add checks for matching utf-u and idna zone names 2022-08-17 18:40:10 -07:00
Ross McFarland
4a847cb38c More test cases for configured_sub_zones 2022-08-11 12:25:37 -07:00
Ross McFarland
18ee70ddb5 Fix issue when subzone is a non-dotted endswith for zone 2022-08-11 09:10:56 -07:00
Ross McFarland
af010121ea Do away with zone_tree, not a tree and unnecessary now 2022-08-11 08:58:40 -07:00
Ross McFarland
6a1b86af6f Rework configured_sub_zones and add tests specifically for it 2022-08-11 07:50:32 -07:00
Ross McFarland
6e5c7a8b70 Add failing tests of subzone handling 2022-08-11 06:18:05 -07:00
Ross McFarland
02e07f4209 Merge remote-tracking branch 'origin/master' into dump-support-output-provider 2022-07-22 16:06:51 -07:00
Ross McFarland
e116d26eec Implement black formatting 2022-07-04 12:27:39 -07:00
Sachi King
04be906c3c Add test to validate non-dotted subdomain zones are vaild
This confirms that in addition to the recently added support for dotted
subdomains that subdomains that are not dotted are supported.  From
RFC1034 Section 3.5 this would be a <subdomain> that contains a single
<label> without <subdomain> recurring.
2022-06-27 10:56:20 +10:00
Sachi King
e299ceced2 Prepare tests with failing "managed subzone" error
The is not a zone between delegated.subzone.unit.tests. and unit.tests.,
however we get a delegated subzone error.  This modifies the tests to
succeed with the added record, however the tests fail as it incorrectly
throws the managed subzone error.

Change the name of delegated.subzone, and the tests will pass cleanly.
2022-06-23 19:22:15 +10:00
Kian-Meng Ang
04b7bf0ac2 Fix typos 2022-05-29 13:16:01 +08:00
Ross McFarland
0d606e0728 dump output_provider testing 2022-04-14 12:50:51 -07:00
Ross McFarland
17c294042f Implement a sketch of --output-provider support for dump 2022-04-14 10:19:33 -07:00
Ross McFarland
66958f7c21 Manager._try_version with 3.7 noop (for now) 2022-03-28 13:33:32 -07:00
Ross McFarland
633aef5845 Manager prints provider, processor, and plan_output versions for non-core modules when available 2022-03-25 20:03:42 -07:00