Commit Graph

161 Commits

Author SHA1 Message Date
Miek Gieben b2b4bd4298 A go.sum file
check in the go.sum so things works

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-02-24 16:36:32 +01:00
Chris O'Haver 08115ae6c5
skip endpoints tests >= 1.19 (#138)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-11-16 13:51:15 -05:00
Chris O'Haver a55e2cd06c
Add e2e test for dns programming latency metric (#137)
* add e2e test for dns programming latency metric

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-11-16 12:41:20 -05:00
Sandeep Rajan 1967192509
Have Kubernetes tests run for previous versions of k8s (#136)
* have k8s tests for previous k8s versions

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* fmt

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* refactor for 2.1

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* append v

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* append missed v

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* separate out k8sversion

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>

* remove env for benchmark

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-10-27 09:40:21 -04:00
Chris O'Haver 54da37f4ee
Patch in clusterrole endpointslice for now (#135)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-10-16 12:33:48 -04:00
Sandeep Rajan eeeffe138b
add test for checking readiness (#134)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-10-01 16:12:16 -04:00
Sandeep Rajan d076872db7
Fix and re-enable skipped tests (#129)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-09-30 15:32:37 -04:00
Miek Gieben 8e20a834db
Merge pull request #131 from coredns/remove-caddy
Move to coredns/caddy
2020-09-24 20:17:48 +02:00
Chris O'Haver 6f114d2a90
Update README.md (#133) 2020-09-18 09:10:26 -04:00
Chris O'Haver 7339724352
Update README.md 2020-09-16 15:17:30 -04:00
Miek Gieben 869c89530d Move to coredns/caddy
This makes the moves and adds a tiny bit of cleanups.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-07-21 10:12:45 +02:00
Sandeep Rajan eec62a1ca5
add max_concurrent option to configmap test (#130)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-06-29 10:46:46 -04:00
Sandeep Rajan 337717a27a
update deployment tests to remove federation support (#128)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-06-12 12:48:45 -04:00
Sandeep Rajan 3a45ced18b
update kind and k8s version to 1.18.2 (#126)
fix tests

fix dns yaml

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-06-10 18:53:43 -04:00
Zou Nengren d5e3a3579f
remove upstream option, re-enable upstream test
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-04-09 10:41:59 -04:00
Sandeep Rajan ce07f5e1d6
Fetch latest go version in circleci (#124)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-03-31 14:33:47 -04:00
Miek Gieben 0e8e1c417a
Merge pull request #123 from zouyee/federationtest
remove federation test
2020-03-30 17:34:28 +02:00
zounengren dd116b6671 remove federation test
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-03-30 17:44:16 +08:00
Antonio Ojea dd117fe676 Bump k8s DNS schema version to 1.1.0 (#122)
Update the test TestKubernetesA/dns-version.cluster.local._TXT
with the new schema version

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-12-19 09:33:13 -05:00
Chris O'Haver 14c48ab1ba
adapt tests for removal of "pod" subdomain records (#121) 2019-12-18 14:03:43 -05:00
Sandeep Rajan 5e9257a16c change lameduck duration to 5s (#120)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2019-11-12 16:09:50 -05:00
Chris O'Haver 5716696f5e
separate tests (#119) 2019-11-07 13:18:12 -05:00
Chris O'Haver c20e4b41d8
mod to expect 1 replica (#118)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-11-07 13:15:23 -05:00
Chris O'Haver 3e4eb4550f
check for nil response (#117)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-11-07 12:35:48 -05:00
Sandeep Rajan 8beeeb4737 add lameduck to cm test (#116)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2019-10-31 15:42:28 -04:00
Chris O'Haver f79451a532
Transition from minikube to kind (#115)
* use kind

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* deploy coredns image to nodes

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix kind version and specify k8s node version

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix kind path

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix kubeconfig path

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* set KUBECONFIG in circleci env def

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add health/ready to a test; go back to k8s 1.15.3

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add ready plugin to all in-cluster tests

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* disable liveness probe

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* wait for ready status, not running status

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add health plugin to test cases

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix plugin order of expected corefile

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* skip minor tests that need to be refactored for kind env

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* more info on failure

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix expected corefile

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix expected corefile

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-09-10 11:17:22 -04:00
Yong Tang a142a69a5b Fix github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.0.0+incompatible (#113)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-09-06 12:17:26 -04:00
Sandeep Rajan 54c2d4ff3d Add benchmarks tests (#112)
* test

* test

* add benchmark tests

* add intdef

* build coredns

* just clone coredns
2019-07-31 15:32:14 -04:00
Chris O'Haver a96033db8e
proxy removed, use forward (#110) 2019-07-29 14:32:48 -04:00
Sandeep Rajan ef44075acf Update readme (#108)
* initial stab with circleci

* update readme for circleci
2019-07-03 11:45:30 -04:00
Yong Tang 3b6df6e126
Merge pull request #109 from coredns/caddy
Update Caddy's import path
2019-07-03 08:47:52 +08:00
Yong Tang 93a680247b Update Caddy's import path
See https://github.com/coredns/coredns/issues/2959

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-07-03 00:34:53 +00:00
Sandeep Rajan fdfa89a58b Add CircleCI to repo (#107)
* initial stab with circleci

* make ci work

* use env var for project name

* use existing script and tweak it for circleci

* use full path for script

* delete unused code
2019-06-14 11:54:09 -04:00
Sandeep Rajan 490856d170 Fix translation for v1.5.0 (#106) 2019-04-26 10:53:22 -04:00
Sandeep Rajan 2cbf6bc2b9 cleanup kube-dns configmap (#105) 2019-04-11 10:35:02 -04:00
Sandeep Rajan a9fb6522a4 Add test to check connection to the apiserver (#104)
* add test to check connection to the apiserver

* inc timeout

* correct docker cmd

* nit

* inc timeout

* add additional checks
2019-04-08 16:33:13 -04:00
Chris O'Haver a872c08311
use forward (#102) 2019-03-12 17:32:59 -04:00
Sandeep Rajan 463c591521 remove upstream/loop tests (#101) 2019-03-11 11:50:01 -04:00
Yong Tang bfe53c4ebd
Merge pull request #99 from yongtang/gomod
Enable go mod
2019-03-03 11:55:34 -08:00
Yong Tang 39ebae77d1 Enable go mod
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-03-03 18:06:34 +00:00
Yong Tang 59eb931e25 Update Makefile
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-03-03 16:43:20 +00:00
Sandeep Rajan cc28c5b6eb add multiple tries for getting logs (#97) 2019-02-27 11:19:28 -05:00
Sandeep Rajan 4aec19cfff Add metadata_edns0 test infra (#96)
* Edit Makefile to Build the coredns image
- include the metadata_edns0 external plugin
- add test case for metadata_edns0
2019-02-21 12:50:58 -05:00
Sandeep Rajan d7316d4e26 Simplify minikube install (#95)
* simplify minikube install

* correct kubectl patch command

* scale coredns replicas to 1
2019-02-11 17:01:53 -05:00
Sandeep Rajan c7b83916e1 Update Minikube and Kubernetes version (#93)
* update minikube and kubernetes version
2019-02-08 15:27:33 -05:00
Xuanwo 2549dc8a75 Move TempFile to plugin test (#90) 2019-01-28 09:55:50 -05:00
Sandeep Rajan 2d6939f625 move translation test from proxy to forward (#89) 2019-01-24 10:29:42 -05:00
Sandeep Rajan 5623642637 Fix the configmap translation test (#88) 2019-01-24 10:10:36 -05:00
Miek Gieben cfc1623594
Merge pull request #87 from coredns/test-import
New API from coredns
2019-01-19 11:22:57 +00:00
Miek Gieben 1f9c763c24 New API from coredns
drop "testing" from the main binary; api change. Fix here.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-01-19 10:53:05 +00:00