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

1649 Commits

Author SHA1 Message Date
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
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
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
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
Scott Little
9fa394ff0f Merge branch 'master' into smallcubed-easydns-patch 2021-03-31 18:32:06 +02:00
Ross McFarland
3032a86647 Merge pull request #687 from maikelpoot/transip_provider_ns
Enable NS support for non-root NS records
2021-03-31 05:56:06 -07:00
Maikel Poot
840cb03bf4 Fix lint error 2021-03-31 13:44:37 +02:00
Maikel Poot
60e6f185cd Update Documentation 2021-03-31 13:41:55 +02:00
Maikel Poot
87c31ca23d Update transip unittest 2021-03-31 13:31:24 +02:00
Maikel Poot
374a5c62f2 Enable NS support for non-root NS records 2021-03-31 12:49:01 +02:00
Scott Little
a99c71b3e5 Change the auth value to have a proper string not a binary rep 2021-03-26 19:48:38 +01:00
Ross McFarland
12dae35447 Merge pull request #685 from octodns/dependabot/pip/pyyaml-5.4
Bump pyyaml from 5.3.1 to 5.4
2021-03-25 16:23:13 -07:00
dependabot[bot]
1aefa1a496 Bump pyyaml from 5.3.1 to 5.4
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 21:56:29 +00:00
Ross McFarland
1ef140f372 Merge pull request #682 from evgkrsk/patch-1
Update README.md: fix typo
2021-03-17 17:12:28 -07:00
Ross McFarland
376449b771 Merge branch 'master' into patch-1 2021-03-17 17:08:46 -07:00
Ross McFarland
575f50fb56 Merge pull request #683 from octodns/run-ci-on-md-changes
Revert "Stopped running CI for doc changes."
2021-03-17 17:08:13 -07:00
Ross McFarland
8745081746 Revert "Stopped running CI for doc changes."
This reverts commit a8366aa02d.
2021-03-17 17:04:10 -07:00
Evgenii Tereshkov
6c1cc47024 Update README.md: fix typo 2021-03-18 02:31:10 +07:00
Ross McFarland
765766b1bf Merge pull request #679 from xt0rted/patch-1
Update branch name
2021-03-11 17:46:56 -08:00
Ross McFarland
06f685583c Remove some whitespace. 2021-03-11 17:43:13 -08:00
Brian Surowiec
bec4d025dc Update branch name 2021-03-10 15:57:50 -05:00