Enable k6 tests for latest CPS build 26/21326/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Mon, 27 May 2024 09:22:29 +0000 (10:22 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Mon, 27 May 2024 09:22:29 +0000 (10:22 +0100)
- remove hardcoded patchset from git fetch
- do mvn install so latest image is built

Issue-ID: CPS-2200
Change-Id: I10f5ff71f95e0ef702fcb89d63fa25ade2839249
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
jjb/onap/cps/k6-performance-tests-trigger.sh

index 6377aa96ca0eaa4fca54c6f174ccb759ddd0a56a..edff9fe223387149d21b1a90d78609c8c6828338 100755 (executable)
@@ -18,7 +18,7 @@
 set -o errexit  # Exit on most errors
 set -o nounset  # Disallow expansion of unset variables
 set -o pipefail # Use last non-zero exit code in a pipeline
-set -o xtrace   # Trace logging - disabled to avoid producing gigabytes of logs
+set -o xtrace   # Trace logging
 
 #############################################################################################################################
 ################################################ M A I N ####################################################################
@@ -45,8 +45,8 @@ mkdir "build-logs"
 git clone https://gerrit.nordix.org/onap/cps
 cd cps
 
-# Since the commit which includes k6 test has not been merged yet
-git fetch https://gerrit.nordix.org/onap/cps refs/changes/22/21022/10 && git checkout FETCH_HEAD
+# Build latest images
+mvn -B clean install -DskipTests -Dcheckstyle.skip
 
 working_directory=$(pwd)