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

1406 Commits

Author SHA1 Message Date
Jonathan Leroy
fbfa46fbcc Add documentation for zones aliases 2020-10-31 22:51:09 +01:00
Jonathan Leroy
9a4812223e Add missing empty line 2020-10-31 20:19:09 +01:00
Jonathan Leroy
038ae42284 Add comments and fixes some tests 2020-10-31 20:16:26 +01:00
Jonathan Leroy
6b568f5c9d Compare alias zones content with the one of its parent zone, even if
there is no changes in the parent zone
2020-10-31 19:07:34 +01:00
Jonathan Leroy
a6d8848fad Fixes linting issues 2020-10-31 14:19:43 +01:00
Jonathan Leroy
b0da090723 Add test for alias zones 2020-10-31 14:09:54 +01:00
Jonathan Leroy
a2aa98377d Add tests for Record.copy() 2020-10-31 10:57:14 +01:00
Jonathan Leroy
a1e62281f6 Fixes record copy when record is a child class of Record and as no record
type specified in its data
2020-10-31 10:54:17 +01:00
Jonathan Leroy
4fb102e4be Fixes tests related to _populate_and_plan() 2020-10-31 09:44:06 +01:00
Jonathan Leroy
6f01a543df Implement configuration validation for alias zones 2020-10-31 09:43:23 +01:00
Jonathan Leroy
8679bb4899 Remove sources argument when calling _populate_and_plan() for an alias
zone
2020-10-31 09:41:27 +01:00
Jonathan Leroy
0b3a99bb8c Implement Record.copy() function
Flip if in _populate_and_plan()
2020-10-31 09:38:35 +01:00
Jonathan Leroy
3acea0d89d Handle multiples sources on aliased zones 2020-10-31 01:09:37 +01:00
Jonathan Leroy
04a2d7a585 Merge branch 'master' into zones-aliases 2020-10-28 16:24:40 +01:00
Ross McFarland
b37656a2c8 Merge pull request #620 from Inikup/dname-records
Add support for DNAME records
2020-10-27 13:22:23 -07:00
Jonathan Leroy
eec4c4f81c Remove support for dynamic DNAME records as no provider currently
support them
2020-10-27 20:31:57 +01:00
Jonathan Leroy
de51e5f531 Add support for DNAME records 2020-10-26 22:18:35 +01:00
Jonathan Leroy
897a033443 Add tests for Manager.get_zones() 2020-10-21 20:02:12 +02:00
Jonathan Leroy
1f60a6af5e Fixes typo in manager.get_zone() 2020-10-21 19:24:49 +02:00
Jonathan Leroy
94a8b67a3b Fixes linting errors 2020-10-21 19:18:27 +02:00
Jonathan Leroy
12c3aa64a8 Add zones aliases support to octodns-compare command 2020-10-21 19:11:25 +02:00
Jonathan Leroy
06c18f4063 Add zones aliases support to octodns-report command 2020-10-21 19:11:02 +02:00
Jonathan Leroy
f2a6f870b4 Make each alias zone reference its target zone instead of listing all
aliases zones in the target zone configuration
2020-10-20 22:18:48 +02:00
Jonathan Leroy
7bf0b31367 Revert "Add support for zones aliases"
This reverts commit b926d78c5c.
2020-10-20 19:54:35 +02:00
Jonathan Leroy
2cc91ead71 Merge branch 'master' into zones-aliases 2020-10-20 19:51:56 +02:00
Ross McFarland
8f686142d6 Merge pull request #617 from ftm-qsc/patch-1
docs: fixed small typo in geo_records.md
2020-10-14 11:50:29 -07:00
ftm-qsc
50f739495d docs: fixed small typo in geo_records.md
Did you mean 'strongly'?
2020-10-14 20:45:49 +02:00
Ross McFarland
5c26f38851 Merge pull request #613 from github/dependabot/pip/boto3-1.15.9
Bump boto3 from 1.14.52 to 1.15.9
2020-10-01 05:59:59 -07:00
dependabot-preview[bot]
832e481ea4 Bump boto3 from 1.14.52 to 1.15.9
Bumps [boto3](https://github.com/boto/boto3) from 1.14.52 to 1.15.9.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/boto3/compare/1.14.52...1.15.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 12:55:18 +00:00
Ross McFarland
9bd6e9e35a Merge pull request #612 from github/dependabot/pip/botocore-1.18.9
Bump botocore from 1.17.52 to 1.18.9
2020-10-01 05:54:15 -07:00
dependabot-preview[bot]
aad1467d5a Bump botocore from 1.17.52 to 1.18.9
Bumps [botocore](https://github.com/boto/botocore) from 1.17.52 to 1.18.9.
- [Release notes](https://github.com/boto/botocore/releases)
- [Changelog](https://github.com/boto/botocore/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/botocore/compare/1.17.52...1.18.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 08:06:50 +00:00
Ross McFarland
6b0d9e2274 Merge pull request #589 from phelpsw/compare_filtering_and_exit_codes
octodns-compare: Prefix filtering and status code on on mismatch
2020-09-03 12:05:25 -07:00
Phelps Williams
270fd9682f Merge branch 'master' into compare_filtering_and_exit_codes 2020-09-03 11:58:10 -07:00
Ross McFarland
18160c095a Merge pull request #604 from github/dependabot/pip/boto3-1.14.52
Bump boto3 from 1.14.14 to 1.14.52
2020-09-01 08:09:45 -07:00
dependabot-preview[bot]
229d77eda7 Bump boto3 from 1.14.14 to 1.14.52
Bumps [boto3](https://github.com/boto/boto3) from 1.14.14 to 1.14.52.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/boto3/compare/1.14.14...1.14.52)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 15:04:28 +00:00
Ross McFarland
f8e2117928 Merge pull request #602 from github/dependabot/pip/botocore-1.17.52
Bump botocore from 1.17.14 to 1.17.52
2020-09-01 08:03:13 -07:00
dependabot-preview[bot]
cfa4ac03dd Bump botocore from 1.17.14 to 1.17.52
Bumps [botocore](https://github.com/boto/botocore) from 1.17.14 to 1.17.52.
- [Release notes](https://github.com/boto/botocore/releases)
- [Changelog](https://github.com/boto/botocore/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/botocore/compare/1.17.14...1.17.52)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 14:57:57 +00:00
Ross McFarland
b7752cbc05 Merge pull request #603 from github/dependabot/pip/google-cloud-core-1.4.1
Bump google-cloud-core from 1.3.0 to 1.4.1
2020-09-01 07:56:35 -07:00
dependabot-preview[bot]
179c89573f Bump google-cloud-core from 1.3.0 to 1.4.1
Bumps [google-cloud-core](https://github.com/googleapis/python-cloud-core) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/googleapis/python-cloud-core/releases)
- [Changelog](https://github.com/googleapis/python-cloud-core/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-cloud-core/compare/v1.3.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 14:54:26 +00:00
Ross McFarland
52e3b33ddf Merge pull request #601 from github/dependabot/pip/pycountry-20.7.3
Bump pycountry from 19.8.18 to 20.7.3
2020-09-01 07:53:08 -07:00
dependabot-preview[bot]
58535b3b69 Bump pycountry from 19.8.18 to 20.7.3
Bumps [pycountry](https://github.com/flyingcircusio/pycountry) from 19.8.18 to 20.7.3.
- [Release notes](https://github.com/flyingcircusio/pycountry/releases)
- [Changelog](https://github.com/flyingcircusio/pycountry/blob/master/HISTORY.txt)
- [Commits](https://github.com/flyingcircusio/pycountry/compare/19.8.18...20.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 08:54:31 +00:00
Ross McFarland
8e62bd9ada Merge pull request #599 from numberly/limit-source
Implement octodns-sync --source
2020-08-27 09:12:16 -07:00
Guillaume Gelin
31105cc472 Implement octodns-sync --source
It can be useful to only synchronize zones that use a certain source. For
example, in a situation where some zones use a dynamic source and others don't,
you probably want to synchronize those with a dynamic source regularly, and
only synchronize the others when a change is made.

Although we only synchronize the zones that use a given source, we still want
to synchronize all sources to avoid deleting records that would live in another
source of the zone.
2020-08-27 16:16:24 +02:00
Ross McFarland
451e169777 Merge pull request #598 from rupa/readme-ns1-provider
Update README.md
2020-08-20 13:57:17 -07:00
rupa
b69fc32300 Update README.md
NS1 does support CNAME via octodns :)
2020-08-20 16:03:30 -04:00
Jonathan Leroy
b926d78c5c Add support for zones aliases
This commit adds support for zones aliases. This allows to define one or
multiple zone as aliases of an existing zone without using workarounds
like simlinks and miltiple "zones" entries in the configuration file.

An alias zone is share all of its content with it parent zone, only the
name of the zone is different.

```
zones:
  example.com.:
    aliases:
      - example.net.
      - example.org.
    sources:
      - in
    targets:
      - out
```

Known issues:
- No documentation,
- Only the `octodns-sync` and `octodns-validate` commands supports
aliases zones at this time,

I added a loop in the manager init function which convert all alias
zone to "real" ones during config validation, however I'm not sure
this is the right approach. Comments welcome.
2020-08-03 00:47:22 +02:00
Phelps Williams
a8c14a9625 Merge branch 'master' into compare_filtering_and_exit_codes 2020-07-21 14:11:52 -07:00
Ross McFarland
73d2585e9e Merge pull request #581 from actazen/easydns_provider
Adding Octodns provider class for easyDNS
2020-07-21 14:03:22 -07:00
John Dale
9e372fee19 Merge branch 'easydns_provider' of https://github.com/actazen/octodns into easydns_provider 2020-07-21 20:01:10 +00:00
John Dale
9e990632c4 Update to remove DYNamic A records
* Removed conversion of DYN records to A records
* Updated test fixtures to change test DYN to an A record
2020-07-21 19:58:24 +00:00