File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -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 @@ -12,8 +12,15 @@ TMPFILE="${TMPDIR}/test-integration.log"
12
12
# Etcd was added for testing in 1.21 and later
13
13
function test-integration() {
14
14
./build/shell.sh -c '
15
- ./hack/install-etcd.sh
16
- PATH=$(pwd)/third_party/etcd:${PATH} make test-integration
15
+ #!/usr/bin/env bash
16
+ set -o errexit
17
+ set -o nounset
18
+ set -o pipefail
19
+
20
+ ./hack/run-in-gopath.sh go install ./hack/make-rules/helpers/go2make
21
+ mkdir .make
22
+ ./hack/run-in-gopath.sh go2make k8s.io/kubernetes/... --prune k8s.io/kubernetes/staging --prune k8s.io/kubernetes/vendor k8s.io/kubernetes/vendor/k8s.io/... > .make/go-pkgdeps.mk
23
+ TERM=linux PATH=$(pwd)/third_party/etcd:${PATH} DBG_CODEGEN=1 make test-integration
17
24
'
18
25
}
19
26
You can’t perform that action at this time.
0 commit comments