File tree 5 files changed +7864
-5
lines changed
5 files changed +7864
-5
lines changed 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
source " kit/helper.sh"
8
- export KUBE_ROOT=$( dirname " $( readlink -f " $0 " ) " ) /../src/github.com/kubernetes/kubernetes/
8
+ export KUBE_ROOT=$( dirname " $( readlink -f " $0 " ) " ) /..
9
9
export TERM=linux
10
10
echo " KUBE_ROOT directory: $KUBE_ROOT "
11
11
cd " ${WORKDIR} "
@@ -21,7 +21,6 @@ make generated_files kubeadm
21
21
./build/run.sh make all WHAT=cmd/kubeadm
22
22
23
23
mkdir -p _output/local/go/bin/ && cp _output/dockerized/bin/linux/amd64/kubeadm _output/local/go/bin/
24
- ./hack/install-etcd.sh
25
24
TERM=linux PATH=$(pwd)/third_party/etcd:${PATH} make test-cmd
26
25
' 2>&1 | grep -v -E ' ^I\w+ ' && exit 0
27
26
done
Original file line number Diff line number Diff line change @@ -5,20 +5,31 @@ set -o nounset
5
5
set -o pipefail
6
6
7
7
source " kit/helper.sh"
8
+ export KUBE_ROOT=$( dirname " $( readlink -f " $0 " ) " ) /..
9
+ export TERM=linux
10
+ echo " KUBE_ROOT directory: $KUBE_ROOT "
8
11
cd " ${WORKDIR} "
12
+ echo " WORKDIR directory: $WORKDIR "
9
13
10
14
TMPFILE=" ${TMPDIR} /test-integration.log"
11
15
12
16
# Etcd was added for testing in 1.21 and later
13
17
function test-integration() {
14
18
./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
17
24
'
18
25
}
19
26
20
27
test-integration 2>&1 | tee " ${TMPFILE} " | grep -v -E ' ^I\w+ ' && exit 0
21
28
29
+ echo " -------print TMPFILE:"
30
+ cat " ${TMPFILE} "
31
+ echo " -------TMPFILE end."
32
+
22
33
RETRY_CASES=$( cat " ${TMPFILE} " | grep -E ' ^FAIL\s+k8s.io/kubernetes' | awk ' {print $2}' || echo " " )
23
34
24
35
TAG=$( helper::workdir::version)
You can’t perform that action at this time.
0 commit comments