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}
|
||||
|
||||
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.
|
||||
export KUBE_RACE=" "
|
||||
# Disable coverage report
|
||||
export KUBE_COVER="n"
|
||||
export ARTIFACTS=${ARTIFACTS:-"${WORKSPACE}/artifacts"}
|
||||
export FULL_LOG="true"
|
||||
|
||||
mkdir -p "${ARTIFACTS}"
|
||||
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:]]\+"
|
||||
fi
|
||||
|
||||
if [[ -n "${FULL_LOG:-}" ]] ; then
|
||||
go_test_grep_pattern=".*"
|
||||
fi
|
||||
|
||||
# Filter out arguments that start with "-" and move them to goflags.
|
||||
testcases=()
|
||||
for arg; do
|
||||
|
|
Loading…
Reference in New Issue