From a7326e75ef26df51ae50b83c98d65eed0e0acb8c Mon Sep 17 00:00:00 2001 From: Stavros Kontopoulos Date: Wed, 1 Nov 2023 19:34:25 +0200 Subject: [PATCH] fix perf tests script --- openshift/perf-tests.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openshift/perf-tests.sh b/openshift/perf-tests.sh index fd96f1529861..b2d641c32bec 100755 --- a/openshift/perf-tests.sh +++ b/openshift/perf-tests.sh @@ -8,25 +8,25 @@ env failed=0 -git apply "$(dirname "$0")/performance/patches/*" +git apply ./openshift/performance/patches/* go get github.com/elastic/go-elasticsearch/v7@v7.17.10 go get github.com/opensearch-project/opensearch-go@v1.1.0 -"$(dirname "${BASH_SOURCE[0]}")/../hack/update-deps.sh" +./hack/update-deps.sh git add . git commit -m "openshift perf update" -git apply "$(dirname "$0")/patches/001-object.patch" -git apply "$(dirname "$0")/patches/002-mutemetrics.patch" -git apply "$(dirname "$0")/patches/003-routeretry.patch" +git apply ./openshift/patches/001-object.patch +git apply ./openshift/patches/002-mutemetrics.patch +git apply ./openshift/patches/003-routeretry.patch git add . git commit -m "apply reverted patches" (( !failed )) && install_knative || failed=1 -"$(dirname "$0")/performance/scripts/run-all-performance-tests.sh" +./openshift/performance/scripts/run-all-performance-tests.sh (( failed )) && gather_knative_state (( failed )) && exit $failed