File tree 3 files changed +5
-23
lines changed
3 files changed +5
-23
lines changed Original file line number Diff line number Diff line change 25
25
chmod +x ./kubectl
26
26
sudo mv ./kubectl /usr/local/bin/kubectl
27
27
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get | bash
28
- curl -sSLo kind "https://github.com/kubernetes-sigs/kind/releases/download/0.2.0 /kind-linux-amd64"
28
+ curl -sSLo kind "https://github.com/kubernetes-sigs/kind/releases/download/0.2.1 /kind-linux-amd64"
29
29
chmod +x kind
30
30
sudo mv kind /usr/local/bin/kind
31
31
- checkout
Original file line number Diff line number Diff line change @@ -8,22 +8,13 @@ readonly CLUSTER_NAME=chart-testing
8
8
readonly K8S_VERSION=v1.13.4
9
9
10
10
create_kind_cluster () {
11
- kind create cluster --name " $CLUSTER_NAME " --image " kindest/node:$K8S_VERSION " --wait 10s
12
- KUBECONFIG=" $( kind get kubeconfig-path --name=$CLUSTER_NAME ) "
11
+ kind create cluster --name " $CLUSTER_NAME " --image " kindest/node:$K8S_VERSION " --wait 60s
12
+ KUBECONFIG=" $( kind get kubeconfig-path --name=" $CLUSTER_NAME " ) "
13
13
export KUBECONFIG
14
14
15
15
kubectl cluster-info || kubectl cluster-info dump
16
16
echo
17
17
18
- echo -n ' Waiting for cluster to be ready...'
19
- until ! grep --quiet ' NotReady' <( kubectl get nodes --no-headers) ; do
20
- printf ' .'
21
- sleep 1
22
- done
23
-
24
- echo ' ✔︎'
25
- echo
26
-
27
18
kubectl get nodes
28
19
echo
29
20
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -o nounset
5
5
set -o pipefail
6
6
7
7
readonly CT_VERSION=v2.2.0
8
- readonly KIND_VERSION=0.2.0
8
+ readonly KIND_VERSION=0.2.1
9
9
readonly CLUSTER_NAME=chart-testing
10
10
readonly K8S_VERSION=v1.13.4
11
11
@@ -38,7 +38,7 @@ create_kind_cluster() {
38
38
chmod +x kind
39
39
sudo mv kind /usr/local/bin/kind
40
40
41
- kind create cluster --name " $CLUSTER_NAME " --config test/kind-config.yaml --image " kindest/node:$K8S_VERSION "
41
+ kind create cluster --name " $CLUSTER_NAME " --config test/kind-config.yaml --image " kindest/node:$K8S_VERSION " --wait 60s
42
42
43
43
docker_exec mkdir -p /root/.kube
44
44
@@ -50,15 +50,6 @@ create_kind_cluster() {
50
50
docker_exec kubectl cluster-info
51
51
echo
52
52
53
- echo -n ' Waiting for cluster to be ready...'
54
- until ! grep --quiet ' NotReady' <( docker_exec kubectl get nodes --no-headers) ; do
55
- printf ' .'
56
- sleep 1
57
- done
58
-
59
- echo ' ✔︎'
60
- echo
61
-
62
53
docker_exec kubectl get nodes
63
54
echo
64
55
You can’t perform that action at this time.
0 commit comments