mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
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>
This commit is contained in:
@@ -20,18 +20,14 @@ integrationDefaults: &integrationDefaults
|
|||||||
image: ubuntu-1604:201903-01
|
image: ubuntu-1604:201903-01
|
||||||
working_directory: ~/go/src/${CIRCLE_PROJECT_USERNAME}/coredns
|
working_directory: ~/go/src/${CIRCLE_PROJECT_USERNAME}/coredns
|
||||||
environment:
|
environment:
|
||||||
- K8S_VERSION: v1.13.3
|
- K8S_VERSION: v1.15.3
|
||||||
- KUBECONFIG: /home/circleci/.kube/config
|
- KIND_VERSION: v0.5.1
|
||||||
- MINIKUBE_VERSION: v0.33.1
|
- KUBECONFIG: /home/circleci/.kube/kind-config-kind
|
||||||
- MINIKUBE_WANTUPDATENOTIFICATION: false
|
|
||||||
- MINIKUBE_WANTREPORTERRORPROMPT: false
|
|
||||||
- CHANGE_MINIKUBE_NONE_USER: true
|
|
||||||
- MINIKUBE_HOME: /home/circleci
|
|
||||||
|
|
||||||
setupKubernetes: &setupKubernetes
|
setupKubernetes: &setupKubernetes
|
||||||
- run:
|
- run:
|
||||||
name: Setup Kubernetes
|
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
|
buildCoreDNSImage: &buildCoreDNSImage
|
||||||
- run:
|
- run:
|
||||||
@@ -40,8 +36,7 @@ buildCoreDNSImage: &buildCoreDNSImage
|
|||||||
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/coredns
|
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/coredns
|
||||||
make coredns SYSTEM="GOOS=linux" && \
|
make coredns SYSTEM="GOOS=linux" && \
|
||||||
docker build -t coredns . && \
|
docker build -t coredns . && \
|
||||||
docker tag coredns localhost:5000/coredns && \
|
kind load docker-image coredns
|
||||||
docker push localhost:5000/coredns
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
kubernetes-tests:
|
kubernetes-tests:
|
||||||
|
|||||||
Reference in New Issue
Block a user