Sylvain Rabot
510f2c503d
presubmit: improve output ( #3641 )
...
* presubmit: buffer errors to display them all at once
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
* presubmit: make path absolute so they can be clickable in shells
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
* presubmit: remove useless return
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
* presubmit: fix error message
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
* presubmit: annotate Scanner error with concerned file path
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
2020-01-30 12:06:58 +00:00
Miek Gieben
995179a6c6
presubmit: check import path ordering ( #3636 )
...
Add a test for this as well as it's annoying to point out in every code
review.
Fix all the import paths that are flagged by this new test.
Fixes : #3634
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-30 09:19:26 +00:00
Chris O'Haver
488464b686
fix error formatting ( #3639 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-01-29 11:52:35 -05:00
Miek Gieben
da7f65b3a8
make -f Makefile.doc ( #3633 )
...
Preparing a release; don't want to end up with a dirty repo again.
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-28 19:11:57 +00:00
Miek Gieben
b18b94b54e
Update date on notes ( #3632 )
...
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-28 19:09:34 +00:00
Miek Gieben
f66c2bac25
Remove all shell presubmits ( #3631 )
...
This ports the shell presubmit to Go and makes them better; esp the
Errorf/Logf/Fatalf one because it actually parses the code and works of
the AST.
These error will now show up in the travis/circle CI runs where they
belong.
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-28 19:07:11 +00:00
Miek Gieben
40d0fd8598
presubmit tests ( #3630 )
...
* presubmit tests
Rename the test file to presubmit_test.go
Remove println from previous merge.
Add filename hyphen check
Remove the shell presubmit file that did this before
Signed-off-by: Miek Gieben <miek@miek.nl>
* remove
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-28 15:47:28 +00:00
Miek Gieben
04292f1375
presubmit: add whitespace test in go ( #3629 )
...
Automatically submitted.
2020-01-28 11:13:11 +00:00
coredns-auto-go-mod-tidy[bot]
7ebc8ff5fe
auto go mod tidy
2020-01-27 17:44:15 +00:00
dependabot-preview[bot]
61c8e9c9b3
build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 ( #3621 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.1...v0.17.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 18:42:19 +01:00
coredns-auto-go-mod-tidy[bot]
447bcd99e0
auto go mod tidy
2020-01-27 16:53:05 +00:00
dependabot-preview[bot]
6e2fd0ca73
build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 ( #3625 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.28.5 to 1.28.9.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.28.5...v1.28.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 08:51:10 -08:00
dependabot-preview[bot]
11911bb8cc
build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 ( #3622 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.7.0 to 0.9.1.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.7.0...v0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 08:50:52 -08:00
Michael Grosser
dd58f046de
Use latest Github checkout action ( #3627 )
...
Signed-off-by: Michael Grosser <development@stp-ip.net>
2020-01-27 08:50:29 -08:00
Miek Gieben
672ce6d04e
Fix acl page ( #3626 )
...
* Fix acl page
It must have a Name section.
Fixes: https://github.com/coredns/coredns.io/issues/177
Signed-off-by: Miek Gieben <miek@miek.nl>
* generate
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-27 16:47:42 +01:00
Miek Gieben
e8f94d28c1
Update client-go to 0.17.1 ( #3616 )
...
See: https://twitter.com/ibuildthecloud/status/1220522575568105472
0.17.0 has some kind of ratelimiting bug.
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-24 08:14:34 +01:00
Miek Gieben
ff981b1d69
Prepare release: ( #3614 )
...
* run Makefile.doc to update to the latest
* add prs and authors to Makefile.release to aid in creating release
notes. And update the comments in the makefile.
* add 1.6.7 release notes.
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-23 07:06:52 -08:00
coredns-auto-go-mod-tidy[bot]
166ea10780
auto go mod tidy
2020-01-20 15:33:24 +00:00
dependabot-preview[bot]
042ee3f562
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.0 to 1.20.1 ( #3612 )
...
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go ) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases )
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.20.0...v1.20.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 16:31:15 +01:00
coredns-auto-go-mod-tidy[bot]
0d3134b672
auto go mod tidy
2020-01-20 08:26:01 +00:00
dependabot-preview[bot]
7279777ded
build(deps): bump k8s.io/apimachinery from 0.17.0 to 0.17.1 ( #3609 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.17.0...v0.17.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:24:11 +01:00
dependabot-preview[bot]
e2617f0bfe
build(deps): bump github.com/Azure/go-autorest/autorest ( #3608 )
...
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest ) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.9.3...autorest/v0.9.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:24:01 +01:00
dependabot-preview[bot]
72ec2c9251
build(deps): bump github.com/prometheus/client_model from 0.1.0 to 0.2.0 ( #3607 )
...
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/prometheus/client_model/releases )
- [Commits](https://github.com/prometheus/client_model/compare/v0.1.0...v0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:23:49 +01:00
dependabot-preview[bot]
74fbea3190
build(deps): bump github.com/aws/aws-sdk-go from 1.28.0 to 1.28.5 ( #3606 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.28.0 to 1.28.5.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.28.0...v1.28.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:23:32 +01:00
Dominic Yin
65218e8fb3
Bump version to 1.6.7 ( #3594 )
...
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2020-01-18 12:27:07 -08:00
Erfan Besharat
baaa834dc1
plugin/acl: document metrics in README ( #3605 )
...
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
2020-01-18 16:46:57 +01:00
Miek Gieben
5f159ca464
gofmt -w -s **/*.go ( #3603 )
...
format and remove trailing white space; makes 'make presubmit' pass
again.
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-17 10:47:45 -05:00
Miek Gieben
c95faea624
docs: update README and log plugin ( #3602 )
...
README: remove the logo thing as we stopped doing that
log: remote the lines about the clock output as that's gone as well and
discuss the query log vs other logging a bit.
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-17 16:16:29 +01:00
Brad P. Crochet
aa8c325d4a
Fix HostPortOrFile to support IPv6 addresses with zone ( #3527 )
...
1. The HostPortOrFile tests don't have any IPv6 tests. This adds some.
2. The HostPortOrFile breaks if any of the addresses have IPv6 zone
defined. ParseIP does not handle %zone anymore.
Signed-off-by: Brad P. Crochet <brad@redhat.com>
2020-01-16 20:47:39 +01:00
Yong Tang
b7977402d6
Update both DataDog/dd-trace-go and DataDog/datadog-go ( #3597 )
...
This is a PR that supersede #3592 . In PR #3592
the build failed because DataDog/dd-trace-go and DataDog/datadog-go
have to be updated at the same time. (dependabot failed to detect that).
This PR fixes the error.
This PR closes #3592
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-01-15 17:30:27 +01:00
coredns-auto-go-mod-tidy[bot]
8a4f3c3701
auto go mod tidy
2020-01-13 14:41:09 +00:00
dependabot-preview[bot]
d024014251
build(deps): bump github.com/aws/aws-sdk-go from 1.27.0 to 1.28.0 ( #3591 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.27.0...v1.28.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 06:39:24 -08:00
Miek Gieben
6f940cb322
Remove replace in go.mod ( #3596 )
...
Seems these are absolete now?
/cc @yongtang
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-13 06:39:05 -08:00
Miek Gieben
dcff271480
doc: run make -f Makefile.doc ( #3595 )
...
Update the docs (mechanical change).
Also run: go generate (no changes, good!)
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-13 06:31:42 -08:00
Dominic Yin
81a54faaeb
add mips64le to released ARCH ( #3589 )
...
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2020-01-13 07:19:49 +01:00
Miek Gieben
2221b6160c
sign: add expiration jitter ( #3588 )
...
* add expiration jitter
Signed-off-by: Miek Gieben <miek@miek.nl>
* sign: add expiration jitter
This PR adds a expiration jitter to spread out zone re-signing even
more. The max is 5 extra days added when creating the signer for a
specific zone.
Also make the duration* constants private to clean up the godoc for this
plugin.
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-12 04:56:57 -08:00
coredns-auto-go-mod-tidy[bot]
d6669dee80
auto go mod tidy
2020-01-06 10:21:46 +00:00
dependabot-preview[bot]
585b931fee
build(deps): bump github.com/miekg/dns from 1.1.26 to 1.1.27 ( #3581 )
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.26 to 1.1.27.
- [Release notes](https://github.com/miekg/dns/releases )
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.26...v1.1.27 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 18:19:44 +08:00
coredns-auto-go-mod-tidy[bot]
4c4b0859cf
auto go mod tidy
2020-01-06 10:00:35 +00:00
dependabot-preview[bot]
8e159bb273
build(deps): bump github.com/aws/aws-sdk-go from 1.26.8 to 1.27.0 ( #3582 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.26.8 to 1.27.0.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.26.8...v1.27.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 17:58:57 +08:00
Zheng Xie
f81f28d97b
plugin/cache: update comment to conform to the implementation ( #3573 )
...
Signed-off-by: zheng xie <xiez1989@gmail.com>
2020-01-03 14:26:53 +01:00
Jonathan Nagy
e3266d24f7
Resolve TXT records via CNAME ( #3557 )
...
* Add test case for TXT lookup via CNAME
Signed-off-by: Jonathan Nagy <nagytech@users.noreply.github.com>
* Return HostType of explicit TXT records
Signed-off-by: Jonathan Nagy <nagytech@users.noreply.github.com>
* Adapt TXT method lookup to allow lookup via CNAME
Signed-off-by: Jonathan Nagy <nagytech@users.noreply.github.com>
* Implement lookup of TXT records via CNAME
Signed-off-by: Jonathan Nagy <nagytech@users.noreply.github.com>
2020-01-03 14:16:04 +01:00
Zou Nengren
acac649c1b
update gitignore ( #3506 )
...
Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2020-01-03 14:15:07 +01:00
Zou Nengren
99e7c3dee7
registry cache_miss logic ( #3578 )
...
Signed-off-by: zouyee <zounyee1989@gmail.com>
2020-01-03 10:06:37 +01:00
coredns-auto-go-mod-tidy[bot]
908508a9bd
auto go mod tidy
2019-12-30 12:12:08 +00:00
dependabot-preview[bot]
b233207f15
build(deps): bump github.com/aws/aws-sdk-go from 1.26.7 to 1.26.8 ( #3574 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.26.7 to 1.26.8.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.26.7...v1.26.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 13:10:06 +01:00
Miek Gieben
fc546cf129
doc: fix generated manual pages ( #3571 )
...
Went over all generated manual pages and fixed some markdown issues,
mostly escaping "_" to avoid underlining entire paragraphs.
Some textual fixes in route53 and other cloud DNS plugins.
Regenerated the markdown with mmark.
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-12-29 13:35:17 +01:00
coredns-auto-go-mod-tidy[bot]
92e0086c19
auto go mod tidy
2019-12-23 14:12:39 +00:00
dependabot-preview[bot]
971d731d7a
build(deps): bump google.golang.org/grpc from 1.25.1 to 1.26.0 ( #3564 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.25.1 to 1.26.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.25.1...v1.26.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 22:10:43 +08:00
coredns-auto-go-mod-tidy[bot]
ee1e489e96
auto go mod tidy
2019-12-23 08:32:08 +00:00