File tree Expand file tree Collapse file tree 7 files changed +8
-9171
lines changed Expand file tree Collapse file tree 7 files changed +8
-9171
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ generate-code:
5252$(info Compiling deepcopy-gen...)
5353go build -o ${BIN_DIR} /deepcopy-gen ./cmd/deepcopy-gen/
5454$(info Generating deepcopy...)
55- ${BIN_DIR} /deepcopy-gen -i ./pkg/apis/controller/v1alpha1/ -O zz_generated.deepcopy
55+ ${BIN_DIR} /deepcopy-gen -i ./pkg/apis/controller/v1alpha1/ -O zz_generated.deepcopy
5656
5757images : verify-tag-name
5858$(info List executable directory)
Original file line number Diff line number Diff line change 88 minAvailable : 2
99 resources :
1010 GenericItems :
11- replicas : 2
11+ replicas : 1
1212 metadata :
1313 name : aw-generic-statefulset-2
1414 namespace : test1
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ apiVersion: kind.x-k8s.io/v1alpha4
55nodes :
66 # the control plane node config
77 - role : control-plane
8- # kubernetes version 1.21.1 from kind v0.11.0
8+ # kubernetes version 1.20.7 from kind v0.11.0
99 image : kindest/node:v1.20.7@sha256:e645428988191fc824529fd0bb5c94244c12401cf5f5ea3bd875eb0a787f0fe9
1010 # the three workers
1111 - role : worker
12- # kubernetes version 1.21.1 from kind v0.11.0
12+ # kubernetes version 1.20.7 from kind v0.11.0
1313 image : kindest/node:v1.20.7@sha256:e645428988191fc824529fd0bb5c94244c12401cf5f5ea3bd875eb0a787f0fe9
Original file line number Diff line number Diff line change @@ -209,9 +209,9 @@ runTests() {
209209 # `go test` does not install the things it builds. `go test -i` installs
210210 # the build artifacts but doesn't run the tests. The two together provide
211211 # a large speedup for tests that do not need to be rebuilt.
212- # go test -i "${goflags[@]:+${goflags[@]}}" \
213- # ${KUBE_RACE} ${KUBE_TIMEOUT} "${@}" \
214- # "${testargs[@]:+${testargs[@]}}"
212+ go test -i " ${goflags[@]: +${goflags[@]} } " \
213+ ${KUBE_RACE} ${KUBE_TIMEOUT} " ${@ } " \
214+ " ${testargs[@]: +${testargs[@]} } "
215215 go test " ${goflags[@]: +${goflags[@]} } " \
216216 ${KUBE_RACE} ${KUBE_TIMEOUT} " ${@ } " \
217217 " ${testargs[@]: +${testargs[@]} } " \
Original file line number Diff line number Diff line change @@ -121,9 +121,6 @@ function cleanup {
121121 echo " ===================================================================================="
122122 echo " ==========================>>>>> MCAD Controller Logs <<<<<=========================="
123123 echo " ===================================================================================="
124- echo " ==========================>>>>>Printing the pod name for logs: <<<<<=========================="
125- echo " $mcad_pod "
126- echo " _____________________________ end printing logs pod name ______________________"
127124 kubectl logs ${mcad_pod} -n kube-system
128125
129126 kind delete cluster ${CLUSTER_CONTEXT}
@@ -291,13 +288,7 @@ function kube-test-env-up {
291288 sleep 10
292289 echo " Listing MCAD Controller Helm Chart and Pod YAML..."
293290 helm list
294- mcad-controller=$( kubectl get pods -n kube-system | grep xqueuejob | awk ' {print $1}' )
295- test_pod=$( kubectl get pods -n kube-system | grep xqueuejob | cut -d' ' -f1)
296- echo " _____________________________ Printing the pod name ______________________"
297- echo " $mcad_pod "
298- echo " _____________________________ end printing mcad pod name ______________________"
299- echo " $test_pod "
300- echo " _____________________________ end printing test pod name ______________________"
291+ mcad-controller=$( kubectl get pods -n kube-system | grep mcad-controller | awk ' {print $1}' )
301292 if [[ " $mcad_pod " != " " ]]
302293 then
303294 kubectl get pod ${mcad_pod} -n kube-system -o yaml
You can’t perform that action at this time.
0 commit comments