mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Disable JUnit-style reporting for benchmark script
This commit is contained in:
parent
65c0d55bba
commit
9ddaeae2c6
@ -26,23 +26,20 @@ retry() {
|
|||||||
"$@"
|
"$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Runs benchmark integration tests, producing JUnit-style XML test
|
# Runs benchmark integration tests, producing pretty-printed results
|
||||||
# reports in ${WORKSPACE}/artifacts. This script is intended to be run from
|
# in ${WORKSPACE}/artifacts. This script can also be run within a
|
||||||
# kubekins-test container with a kubernetes repo mounted (at the path
|
# kubekins-test container with a kubernetes repo mounted (at the path
|
||||||
# /go/src/k8s.io/kubernetes). See k8s.io/test-infra/scenarios/kubernetes_verify.py.
|
# /go/src/k8s.io/kubernetes).
|
||||||
|
|
||||||
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}
|
||||||
|
|
||||||
retry go get github.com/jstemmer/go-junit-report
|
|
||||||
retry go get github.com/cespare/prettybench
|
retry go get github.com/cespare/prettybench
|
||||||
|
|
||||||
# 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"
|
||||||
# Produce a JUnit-style XML test report.
|
export ARTIFACTS_DIR=${WORKSPACE}/_artifacts
|
||||||
export KUBE_JUNIT_REPORT_DIR=${WORKSPACE}/artifacts
|
|
||||||
export ARTIFACTS_DIR=${WORKSPACE}/artifacts
|
|
||||||
|
|
||||||
mkdir -p "${ARTIFACTS_DIR}"
|
mkdir -p "${ARTIFACTS_DIR}"
|
||||||
cd /go/src/k8s.io/kubernetes
|
cd /go/src/k8s.io/kubernetes
|
||||||
|
Loading…
Reference in New Issue
Block a user