mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #59068 from shyamjvs/benchmarking-script-fix
Automatic merge from submit-queue (batch tested with PRs 59106, 58985, 59068, 59120, 59126). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Disable JUnit-style reporting for benchmark script Fixes https://github.com/kubernetes/test-infra/issues/6392 /cc @porridge ```release-note NONE ```
This commit is contained in:
commit
5e3e705e82
@ -26,23 +26,20 @@ retry() {
|
||||
"$@"
|
||||
}
|
||||
|
||||
# Runs benchmark integration tests, producing JUnit-style XML test
|
||||
# reports in ${WORKSPACE}/artifacts. This script is intended to be run from
|
||||
# Runs benchmark integration tests, producing pretty-printed results
|
||||
# in ${WORKSPACE}/artifacts. This script can also be run within a
|
||||
# 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}
|
||||
|
||||
retry go get github.com/jstemmer/go-junit-report
|
||||
retry go get github.com/cespare/prettybench
|
||||
|
||||
# Disable the Go race detector.
|
||||
export KUBE_RACE=" "
|
||||
# Disable coverage report
|
||||
export KUBE_COVER="n"
|
||||
# Produce a JUnit-style XML test report.
|
||||
export KUBE_JUNIT_REPORT_DIR=${WORKSPACE}/artifacts
|
||||
export ARTIFACTS_DIR=${WORKSPACE}/artifacts
|
||||
export ARTIFACTS_DIR=${WORKSPACE}/_artifacts
|
||||
|
||||
mkdir -p "${ARTIFACTS_DIR}"
|
||||
cd /go/src/k8s.io/kubernetes
|
||||
|
Loading…
Reference in New Issue
Block a user