From 45b444a488323b37b442348063f8c5ac8493ce9c Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Tue, 29 Mar 2022 13:52:35 +0100 Subject: sp3 tests update on setup - versions of images updated - fix run_tests with extra slash - add call to metrics on stability and performance tests Issue-ID: POLICY-4006 Change-Id: Idad63e9d256e149b224796c486f7322ecbc6ff61 Signed-off-by: adheli.tavares --- testsuites/stability/src/main/resources/setup/start.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'testsuites/stability/src/main/resources/setup/start.sh') diff --git a/testsuites/stability/src/main/resources/setup/start.sh b/testsuites/stability/src/main/resources/setup/start.sh index e163f2b8..765c5b64 100755 --- a/testsuites/stability/src/main/resources/setup/start.sh +++ b/testsuites/stability/src/main/resources/setup/start.sh @@ -1,6 +1,6 @@ #!/bin/bash # ============LICENSE_START======================================================= -# Copyright (c) 2021 Nordix Foundation. +# Copyright (c) 2021-2022 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,9 +33,10 @@ if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then fi # bring down maven -curl -O -s -S https://dlcdn.apache.org/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz -tar -xzvf apache-maven-3.8.3-bin.tar.gz -MAVEN="${WORK_DIR}"/apache-maven-3.8.3/bin/mvn +curl -s -S https://dlcdn.apache.org/maven/maven-3/3.8.5/binaries/apache-maven-3.8.5-bin.tar.gz > apache-maven.tar.gz +mkdir -p apache-maven && tar -xzvf apache-maven.tar.gz -C apache-maven --strip-components 1 + +MAVEN="${WORK_DIR}"/apache-maven/bin/mvn $MAVEN -v echo "" @@ -55,7 +56,7 @@ sudo mkdir -p /tmp/policydistribution/distributionmount sudo chmod -R a+trwx /tmp # start containers on the background -docker-compose up --detach +docker-compose up -d echo "" # check if all containers are up - db-migrator will shutdown after a while -- cgit 1.2.3-korg