Skip to content

Commit 0796321

Browse files
Saurabh Tripathydmatch01
Saurabh Tripathy
authored andcommitted
Addressing PR comments
1 parent 2bb772a commit 0796321

File tree

7 files changed

+8
-9171
lines changed

7 files changed

+8
-9171
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ generate-code:
5252
$(info Compiling deepcopy-gen...)
5353
go 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

5757
images: verify-tag-name
5858
$(info List executable directory)

doc/usage/examples/aw-1-k8s-job1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
minAvailable: 2
99
resources:
1010
GenericItems:
11-
replicas: 2
11+
replicas: 1
1212
metadata:
1313
name: aw-generic-statefulset-2
1414
namespace: test1

doc/usage/examples/failed_logs_local.txt

Lines changed: 0 additions & 6815 deletions
This file was deleted.

doc/usage/examples/successful_log_local.txt

Lines changed: 0 additions & 2339 deletions
This file was deleted.

hack/e2e-kind-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ apiVersion: kind.x-k8s.io/v1alpha4
55
nodes:
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

hack/make-rules/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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[@]}}" \

hack/run-e2e-kind.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)