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

1882 Commits

Author SHA1 Message Date
Ross McFarland
3e888b18e1 Merge pull request #703 from octodns/rel-0-9-12
v0.9.12 version bump and CHANGELOG update
v0.9.12
2021-04-30 14:53:13 -07:00
Ross McFarland
58c7f431e8 v0.9.12 version bump and CHANGELOG update 2021-04-30 14:43:23 -07:00
Ross McFarland
ec0ea6080d Merge pull request #701 from octodns/doc-sha-install
Add a blurb on pip installing a sha
2021-04-29 09:16:05 -07:00
Ross McFarland
ad37b99773 Add shell code block types 2021-04-29 09:12:38 -07:00
Ross McFarland
a564270ef5 Add a blurb on pip installing a sha 2021-04-29 09:12:35 -07:00
Ross McFarland
03f59a8e18 Merge pull request #691 from ricardbejarano/hetzner-provider
Hetzner provider
2021-04-29 08:44:29 -07:00
Ricard Bejarano
0a212828bc Merge branch 'master' into hetzner-provider 2021-04-27 20:12:10 +02:00
Ricard Bejarano
b3c394a5e0 minor correctness tweaks 2021-04-27 19:59:26 +02:00
Ricard Bejarano
6bf24d8678 implemented TestHetznerProvider.test_apply 2021-04-27 19:59:00 +02:00
Ricard Bejarano
d4c6836d0b implemented HetznerProvider.zone_metadata as the equivalent to zone_records for zone metadata 2021-04-27 19:58:07 +02:00
Ricard Bejarano
a0c4e9ecd7 simplified HetznerClient by removing unused pagination handling 2021-04-27 19:56:39 +02:00
Ross McFarland
f8659bec04 Helps if you add the file 2021-04-27 09:30:34 -07:00
Ross McFarland
540fb27263 Clean up and test OwnershipProcessor 2021-04-27 09:25:24 -07:00
Ross McFarland
f387a61561 Allow/reject use sets and now have tests 2021-04-27 07:52:41 -07:00
Ross McFarland
716d068196 Backwards compat for plan overrides, 100% manager coverage, singular processor module name 2021-04-27 06:45:18 -07:00
Ricard Bejarano
1922311091 WIP added TestHetznerProvider.test_apply 2021-04-27 07:53:17 +02:00
Ricard Bejarano
0de9efd032 removed unused HetznerClient methods to fix imparial coverage 2021-04-27 07:31:05 +02:00
Ross McFarland
7832fb8809 Better name for _create_zone 2021-04-26 20:08:42 -07:00
Ross McFarland
395a5c7054 Merge remote-tracking branch 'origin' into processors 2021-04-26 18:16:58 -07:00
Ross McFarland
8b02cd7088 Merge remote-tracking branch 'origin/master' into ns1-fallback-only-support 2021-04-26 17:11:32 -07:00
Ross McFarland
fbd8389903 Tests for new-style ns1 data_for_dynamic_A fallback only pools 2021-04-26 17:10:22 -07:00
Ross McFarland
9c31b75e03 Merge pull request #700 from ricardbejarano/fix-plan-debug-log
fixed missing whitespace in plan() debug logging
2021-04-26 16:54:46 -07:00
Ricard Bejarano
a4ac90babe Merge branch 'master' into fix-plan-debug-log 2021-04-26 19:09:09 +02:00
Ricard Bejarano
3f3d500152 fixed missing whitespace in plan() debug logging
When debug logging is enabled, the plan() function logs lines like:

    <previous output>
    Plan: DEBUG: __init__: Creates=13, Updates=0, Deletes=0Existing=0
    <following output>

  Where a space between "Deletes=0" and "Existing=0" is missing.
  This adds it.
2021-04-26 19:06:29 +02:00
Ricard Bejarano
612738b327 renamed TestdHetznerProvider -> TestHetznerProvider (missing "d") 2021-04-26 19:03:25 +02:00
Ricard Bejarano
fe74c46213 made hetzner.HetznerProvider._do Mock-able for testing purposes making it a wrapper for _do_raw 2021-04-26 19:02:44 +02:00
Ross McFarland
078576520d Rework NS1 pool handling to support fallback-only pools 2021-04-26 08:34:02 -07:00
Ross McFarland
b55a647e6e Remove redudant pools_seen.add(pool) call 2021-04-26 06:36:05 -07:00
Ross McFarland
41fc81901c Merge pull request #695 from octodns/fallback-are-seen
pools used as fallbacks should count as seen
2021-04-24 05:44:56 -07:00
Ross McFarland
e90aeb5d34 pools used as fallbacks should count as seen 2021-04-22 18:45:14 -07:00
Ross McFarland
2d248fe571 Merge pull request #693 from duduribeiro/dnsimple-query-zones-instead-domains
Change DNSimple's Provider to query zones instead domains
2021-04-21 10:03:37 -07:00
Cadu Ribeiro
3451c79c6a Change DNSimple's Provider to query zones instead domains
A quick summary of a problem with have with DNSimple provider:
Let's suppose that I have the following config:

zones:
  30.114.195.in-addr.arpa.:
    sources:
      - config
    targets:
      - dnsimple

Even if a customer has this Reverse zone configured in DNSimple, this
fails with:

400 Bad Request for url: https://api.sandbox.dnsimple.com/v2/x/domains

because it is trying to create a domain because the zone wasn't found.
octodns.provider.dnsimple.DnsimpleClientNotFound: Not found

This happens because the GET /domains endpoint at DNSimple does not
bring Reverse Zones. To make this work nice, we should use /zones/
instead making it return properly the reverse zones.
2021-04-21 12:41:11 -03:00
Ricard Bejarano
ab436af92d added populate() tests 2021-04-21 07:55:18 +02:00
Ricard Bejarano
1a2cb50c63 fixed potential KeyError when record ttl field is missing 2021-04-21 07:52:38 +02:00
Yaroshevich, Denis
04d87fdf35 allow to customize token_type, since there are two types of tokens: permanent (APIKey) and JWT (Bearer) 2021-04-20 16:37:09 +03:00
Yaroshevich, Denis
0ff933244a allow to pass login/password which will be used to acquire token for further usage 2021-04-20 14:33:42 +03:00
Ricard Bejarano
73120bc9b5 Merge branch 'master' into hetzner-provider 2021-04-14 07:59:35 +02:00
Ricard Bejarano
8d1dd926ea added Hetzner provider to README.md 2021-04-14 07:59:00 +02:00
Ricard Bejarano
f507349ce5 implemented HetznerProvider 2021-04-14 07:57:23 +02:00
Ricard Bejarano
8a9743b36e added HetznerClient._replace_at to address the "@"/"" record name problem 2021-04-13 08:08:48 +02:00
Ricard Bejarano
c8e91c1e11 added HetznerClient docstring 2021-04-12 21:08:53 +02:00
Ricard Bejarano
c71784b0e8 initial work on Hetzner provider
- implemented HetznerClient API class
- tested manually, lacking formal tests
2021-04-12 08:06:59 +02:00
Yaroshevich, Denis
988e8d27fb fix populate for multiple resource records in single rrset 2021-04-09 11:45:40 +03:00
Ross McFarland
8668dd3e8b Merge pull request #689 from cfunkhouser/handles-output-a-little-more-nicely
Capture plan output in File as argument to sync
2021-04-08 09:54:55 -07:00
Christian Funkhouser
ada61f8d76 De-lint an aggressively-long log line 2021-04-08 11:56:17 -04:00
Christian Funkhouser
aa93e20f2e Represent plan_output_fh less verbosely.
Co-authored-by: Ross McFarland <ross@github.com>
2021-04-08 11:03:30 -04:00
Christian Funkhouser
55c194c203 Update tests/test_octodns_manager.py
Co-authored-by: Ross McFarland <ross@github.com>
2021-04-08 09:40:04 -04:00
Christian Funkhouser
2075550f07 Test that Manager passes fh to _PlanOutputs 2021-04-07 18:21:34 -04:00
Christian Funkhouser
090dbe3515 sync accepts file handle for plan output 2021-04-07 16:00:05 -04:00
Ross McFarland
81b68de097 Merge pull request #686 from Smallcubed/smallcubed-easydns-patch
Change the auth value to have a proper string not a binary rep
2021-03-31 10:48:03 -07:00