aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2024-11-14 08:29:18 +0000
committerGerrit Code Review <gerrit@onap.org>2024-11-14 08:29:18 +0000
commite14acc9d0d51a47c0827401c318e549aba753dd2 (patch)
tree06566a354d99e90ce576176a115a489eece04c80
parentefca6856f4f9654169e4c077c4da1f674b7b7099 (diff)
parent26a6b65af5d6ea42fa23b82e24c01abe0b193c5f (diff)
Merge "[k6] Output git build info in k6 log"
-rwxr-xr-xk6-tests/setup.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/k6-tests/setup.sh b/k6-tests/setup.sh
index c2cdc206be..a4508e180d 100755
--- a/k6-tests/setup.sh
+++ b/k6-tests/setup.sh
@@ -15,7 +15,7 @@
# limitations under the License.
#
-docker-compose -f ../docker-compose/docker-compose.yml --profile dmi-stub up -d
+docker-compose -f ../docker-compose/docker-compose.yml --profile dmi-stub up --quiet-pull -d
echo "Waiting for CPS to start..."
READY_MESSAGE="Inventory Model updated successfully"
@@ -28,3 +28,8 @@ for CONTAINER_ID in $CONTAINER_IDS; do
echo "Checking logs for container: $CONTAINER_ID"
docker logs "$CONTAINER_ID" -f | grep -m 1 "$READY_MESSAGE" >/dev/null && echo "CPS is ready in container: $CONTAINER_ID" || true
done
+
+# Output build information including git commit info
+echo "Build information:"
+curl http://localhost:8883/actuator/info
+echo