mirror of https://github.com/k3s-io/k3s
Merge pull request #73581 from krzysied/test_KUBE_JUNIT_REPORT_DIR_revert
KUBE_JUNIT_REPORT_DIR fixespull/564/head
commit
999e2e0ce8
|
@ -34,12 +34,14 @@ retry() {
|
||||||
export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
|
export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
|
||||||
|
|
||||||
go install k8s.io/kubernetes/vendor/github.com/cespare/prettybench
|
go install k8s.io/kubernetes/vendor/github.com/cespare/prettybench
|
||||||
|
go install k8s.io/kubernetes/vendor/github.com/jstemmer/go-junit-report
|
||||||
|
|
||||||
# Disable the Go race detector.
|
# Disable the Go race detector.
|
||||||
export KUBE_RACE=" "
|
export KUBE_RACE=" "
|
||||||
# Disable coverage report
|
# Disable coverage report
|
||||||
export KUBE_COVER="n"
|
export KUBE_COVER="n"
|
||||||
export ARTIFACTS=${ARTIFACTS:-"${WORKSPACE}/artifacts"}
|
export ARTIFACTS=${ARTIFACTS:-"${WORKSPACE}/artifacts"}
|
||||||
|
export FULL_LOG="true"
|
||||||
|
|
||||||
mkdir -p "${ARTIFACTS}"
|
mkdir -p "${ARTIFACTS}"
|
||||||
cd /go/src/k8s.io/kubernetes
|
cd /go/src/k8s.io/kubernetes
|
||||||
|
|
|
@ -188,6 +188,10 @@ if [[ -n "${KUBE_JUNIT_REPORT_DIR}" ]] ; then
|
||||||
go_test_grep_pattern="^[^[:space:]]\+[[:space:]]\+[^[:space:]]\+/[^[[:space:]]\+"
|
go_test_grep_pattern="^[^[:space:]]\+[[:space:]]\+[^[:space:]]\+/[^[[:space:]]\+"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${FULL_LOG:-}" ]] ; then
|
||||||
|
go_test_grep_pattern=".*"
|
||||||
|
fi
|
||||||
|
|
||||||
# Filter out arguments that start with "-" and move them to goflags.
|
# Filter out arguments that start with "-" and move them to goflags.
|
||||||
testcases=()
|
testcases=()
|
||||||
for arg; do
|
for arg; do
|
||||||
|
|
Loading…
Reference in New Issue