aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2019-09-10 11:34:08 -0400
committerGravatar GitHub <noreply@github.com> 2019-09-10 11:34:08 -0400
commitac36144f0730b84530814ba08d2c84ed8a508e1b (patch)
treef6d938d06304f5bb1d1631f829df98dd8cc5456b
parenta52a427b4ae12023142a389df65d6c7ef9864a94 (diff)
downloadcoredns-ac36144f0730b84530814ba08d2c84ed8a508e1b.tar.gz
coredns-ac36144f0730b84530814ba08d2c84ed8a508e1b.tar.zst
coredns-ac36144f0730b84530814ba08d2c84ed8a508e1b.zip
circleci: updates for minikube -> kind transition (#3274)
* updates for minikube -> kind transition Signed-off-by: Chris O'Haver <cohaver@infoblox.com> * update container build Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
-rw-r--r--.circleci/config.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 79f6d2e47..c0735ddc5 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -20,18 +20,14 @@ integrationDefaults: &integrationDefaults
image: ubuntu-1604:201903-01
working_directory: ~/go/src/${CIRCLE_PROJECT_USERNAME}/coredns
environment:
- - K8S_VERSION: v1.13.3
- - KUBECONFIG: /home/circleci/.kube/config
- - MINIKUBE_VERSION: v0.33.1
- - MINIKUBE_WANTUPDATENOTIFICATION: false
- - MINIKUBE_WANTREPORTERRORPROMPT: false
- - CHANGE_MINIKUBE_NONE_USER: true
- - MINIKUBE_HOME: /home/circleci
+ - K8S_VERSION: v1.15.3
+ - KIND_VERSION: v0.5.1
+ - KUBECONFIG: /home/circleci/.kube/kind-config-kind
setupKubernetes: &setupKubernetes
- run:
name: Setup Kubernetes
- command: ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/build/kubernetes/minikube_setup.sh
+ command: ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/build/kubernetes/k8s_setup.sh
buildCoreDNSImage: &buildCoreDNSImage
- run:
@@ -40,8 +36,7 @@ buildCoreDNSImage: &buildCoreDNSImage
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/coredns
make coredns SYSTEM="GOOS=linux" && \
docker build -t coredns . && \
- docker tag coredns localhost:5000/coredns && \
- docker push localhost:5000/coredns
+ kind load docker-image coredns
jobs:
kubernetes-tests: