diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2022-03-29 13:52:35 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2022-04-19 20:01:53 +0100 |
commit | 45b444a488323b37b442348063f8c5ac8493ce9c (patch) | |
tree | f60cd5bcbe46f01c54a6ec6adb0a741a04d2d072 /testsuites/stability/src/main/resources/setup/start.sh | |
parent | c3dded021550a05639619e1751efc85dabedfd8b (diff) |
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 <adheli.tavares@est.tech>
Diffstat (limited to 'testsuites/stability/src/main/resources/setup/start.sh')
-rwxr-xr-x | testsuites/stability/src/main/resources/setup/start.sh | 11 |
1 files changed, 6 insertions, 5 deletions
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 |