File tree Expand file tree Collapse file tree 5 files changed +7864
-5
lines changed Expand file tree Collapse file tree 5 files changed +7864
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -o nounset
55set -o pipefail
66
77source " kit/helper.sh"
8- export KUBE_ROOT=$( dirname " $( readlink -f " $0 " ) " ) /../src/github.com/kubernetes/kubernetes/
8+ export KUBE_ROOT=$( dirname " $( readlink -f " $0 " ) " ) /..
99export TERM=linux
1010echo " KUBE_ROOT directory: $KUBE_ROOT "
1111cd " ${WORKDIR} "
@@ -21,7 +21,6 @@ make generated_files kubeadm
2121./build/run.sh make all WHAT=cmd/kubeadm
2222
2323mkdir -p _output/local/go/bin/ && cp _output/dockerized/bin/linux/amd64/kubeadm _output/local/go/bin/
24- ./hack/install-etcd.sh
2524TERM=linux PATH=$(pwd)/third_party/etcd:${PATH} make test-cmd
2625' 2>&1 | grep -v -E ' ^I\w+ ' && exit 0
2726done
Original file line number Diff line number Diff line change @@ -5,20 +5,31 @@ set -o nounset
55set -o pipefail
66
77source " kit/helper.sh"
8+ export KUBE_ROOT=$( dirname " $( readlink -f " $0 " ) " ) /..
9+ export TERM=linux
10+ echo " KUBE_ROOT directory: $KUBE_ROOT "
811cd " ${WORKDIR} "
12+ echo " WORKDIR directory: $WORKDIR "
913
1014TMPFILE=" ${TMPDIR} /test-integration.log"
1115
1216# Etcd was added for testing in 1.21 and later
1317function test-integration() {
1418 ./build/shell.sh -c '
15- ./hack/install-etcd.sh
16- PATH=$(pwd)/third_party/etcd:${PATH} make test-integration
19+ # generate .make/go-pkgdeps.mk
20+ go install ./cmd/...
21+
22+ # run test-integration
23+ KUBE_RUN_COPY_OUTPUT=y TERM=linux PATH=$(pwd)/third_party/etcd:${PATH} DBG_CODEGEN=1 make test-integration
1724'
1825}
1926
2027test-integration 2>&1 | tee " ${TMPFILE} " | grep -v -E ' ^I\w+ ' && exit 0
2128
29+ echo " -------print TMPFILE:"
30+ cat " ${TMPFILE} "
31+ echo " -------TMPFILE end."
32+
2233RETRY_CASES=$( cat " ${TMPFILE} " | grep -E ' ^FAIL\s+k8s.io/kubernetes' | awk ' {print $2}' || echo " " )
2334
2435TAG=$( helper::workdir::version)
You can’t perform that action at this time.
0 commit comments