Skip to content

Commit d99295c

Browse files
committed
Fix drone k8s config
1 parent 6ab48cb commit d99295c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.drone.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ pipeline:
121121
- GOOGLE_CREDENTIALS
122122
environment:
123123
- CLUSTER_NAME=mysql-op-x${DRONE_BUILD_NUMBER}
124-
- KUBECONFIG=/go/.kube/config
125-
- HELM_HOME=/go/.helm/
124+
- KUBECONFIG=/root/go/.kube/config
125+
- HELM_HOME=/root/go/.helm/
126126
commands:
127127
- setup-credentials-helper.sh
128128
- gcloud container clusters create $CLUSTER_NAME
@@ -142,11 +142,11 @@ pipeline:
142142
image: quay.io/presslabs/bfc
143143
environment:
144144
- APP_VERSION=${DRONE_TAG}
145-
- KUBECONFIG=/go/.kube/config
146-
- HELM_HOME=/go/.helm/
145+
- KUBECONFIG=/root/go/.kube/config
146+
- HELM_HOME=/root/go/.helm/
147147
- CLUSTER_NAME=mysql-op-x${DRONE_BUILD_NUMBER}
148148
commands:
149-
- go test ./test/e2e -v --kubernetes-config /go/.kube/config --kubernetes-context gke_testing-reactor_europe-west3-b_$CLUSTER_NAME
149+
- go test ./test/e2e -v --kubernetes-config /root/go/.kube/config --kubernetes-context gke_testing-reactor_europe-west3-b_$CLUSTER_NAME
150150
--operator-image quay.io/presslabs/mysql-operator:${DRONE_BRANCH/master/latest}
151151
--sidecar-image quay.io/presslabs/mysql-operator-sidecar:${DRONE_BRANCH/master/latest}
152152
--pod-wait-timeout 150
@@ -163,7 +163,7 @@ pipeline:
163163
- GOOGLE_CREDENTIALS
164164
environment:
165165
- CLUSTER_NAME=mysql-op-x${DRONE_BUILD_NUMBER}
166-
- KUBECONFIG=/go/.kube/config
166+
- KUBECONFIG=/root/go/.kube/config
167167
commands:
168168
- setup-credentials-helper.sh
169169
- gcloud container clusters delete $CLUSTER_NAME --quiet --zone europe-west3-b --project testing-reactor

0 commit comments

Comments
 (0)