Skip to content

Commit

Permalink
fix perf tests script
Browse files Browse the repository at this point in the history
  • Loading branch information
skonto committed Nov 1, 2023
1 parent 7a573d9 commit a7326e7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions openshift/perf-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a7326e7

Please sign in to comment.