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

1670 Commits

Author SHA1 Message Date
Steven Hollingsworth
72b0438b7f Updated doc to reflect config file location for zone wide lenient flag 2021-05-12 09:40:06 -07:00
Ross McFarland
056cec8935 Merge pull request #705 from omarkilani/master
Update the AzureProvider to support azure-mgmt-dns 8.0.0 and azure-identity.
2021-05-11 14:01:57 -07:00
omar
758c7fab61 Fix the last test. 2021-05-10 20:49:28 -07:00
omar
93de918e01 Fix lint, requirements.txt, and all the tests but one. 2021-05-10 20:38:30 -07:00
omar
ebfb9355b1 Update the AzureProvider to support azure-mgmt-dns 8.0.0 and azure-identity. 2021-05-10 19:32:38 -07:00
Ross McFarland
b3aa56f36f Merge pull request #699 from octodns/ns1-fallback-only-support
Ns1 fallback only support
2021-05-04 18:33:08 -07:00
Ross McFarland
428f9421a3 Merge remote-tracking branch 'origin/master' into ns1-fallback-only-support 2021-05-04 21:19:02 -04:00
Ross McFarland
bd737e8cea Merge pull request #704 from viranch/ns1-dynamic-cname
Add support for dynamic CNAME records in NS1
2021-05-03 12:23:31 -07:00
Ross McFarland
5a679948a6 Merge branch 'master' into ns1-fallback-only-support 2021-05-03 12:12:14 -07:00
Viranch Mehta
6d7cab43e8 Rename data/params for dynamic methods 2021-05-03 10:59:12 -07:00
Viranch Mehta
3de5cd2740 More future proof index lookup 2021-04-30 20:38:08 -07:00
Viranch Mehta
15eb23eeb6 Trim trailing dot from CNAME answers for NS1 monitors 2021-04-30 20:26:11 -07:00
Viranch Mehta
40569945d2 Add support for dynamic CNAME records in NS1 2021-04-30 17:02:12 -07:00
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
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
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
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
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