summaryrefslogtreecommitdiffstats
path: root/compose/stop-compose.sh
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-07-02 11:51:35 +0100
committeradheli.tavares <adheli.tavares@est.tech>2024-07-04 09:55:38 +0100
commit36127476ae049d82b843ef34577a330a34c82c61 (patch)
treec6697de03df74affe3093f54b48628b96242d4b5 /compose/stop-compose.sh
parent54d234de0d9260f610425cd496a52265a4082441 (diff)
Fixes for CSIT
- fix API tests from changes in code coverage / sonar fixes - fix some env variables in docker compose - stick jaeger version for compatibility Issue-ID: POLICY-5067 Change-Id: I48d05f54bfba0ca2e259428c4f8e83047ef42a18 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'compose/stop-compose.sh')
-rwxr-xr-xcompose/stop-compose.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/compose/stop-compose.sh b/compose/stop-compose.sh
index 013fbe1e..809c8f47 100755
--- a/compose/stop-compose.sh
+++ b/compose/stop-compose.sh
@@ -24,6 +24,9 @@ if [ -z "${WORKSPACE}" ]; then
export WORKSPACE
fi
+# always 'docker' if running docker compose
+export TEST_ENV="docker"
+
# docker compose fails when not running CSIT
if [ -z "$ROBOT_LOG_DIR" ]; then
export ROBOT_LOG_DIR=/tmp/
@@ -51,11 +54,10 @@ do
echo "======== Logs from ${item} ========" >> docker_compose.log
docker compose logs $item >> docker_compose.log
echo "===================================" >> docker_compose.log
+ echo "" >> docker_compose.log
fi
done
-cat docker_compose.log
-
echo "Tearing down containers..."
docker compose down -v --remove-orphans