This repository was archived by the owner on Apr 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2.1
2
+
3
+ orbs :
4
+ kubernetes :
circleci/[email protected]
5
+
6
+ jobs :
7
+ build :
8
+ machine :
9
+ image : ubuntu-1604:201903-01
10
+
11
+ steps :
12
+ - checkout
13
+ - kubernetes/install-kubectl
14
+ - run : |
15
+ set -ex
16
+ export MINIKUBE_VERSION=v1.13.1
17
+ curl -fLo ./minikube-linux-amd64 "https://github.com/kubernetes/minikube/releases/download/${MINIKUBE_VERSION}/minikube-linux-amd64"
18
+ chmod +x ./minikube-linux-amd64
19
+ sudo mv ./minikube-linux-amd64 /usr/local/bin/minikube
20
+ - run : |
21
+ set -ex
22
+ ./minikube-with-registry.sh
23
+ test/test.sh
Original file line number Diff line number Diff line change @@ -9,6 +9,19 @@ cd $(dirname $0)
9
9
docker pull busybox
10
10
docker tag busybox localhost:5000/busybox
11
11
docker push localhost:5000/busybox
12
+
13
+ set +e
14
+
15
+ kubectl get serviceaccount default
16
+
17
+ while [ $? -ne 0 ]; do
18
+ echo " Waiting for service account"
19
+ sleep 3
20
+ kubectl get serviceaccount default
21
+ done
22
+
23
+ set -e
24
+
12
25
kubectl delete -f pod.yaml --ignore-not-found
13
26
kubectl create -f pod.yaml
14
27
kubectl wait --for=condition=ready pod/minikube-test --timeout=60s
You can’t perform that action at this time.
0 commit comments