diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2024-11-14 08:29:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-11-14 08:29:18 +0000 |
commit | e14acc9d0d51a47c0827401c318e549aba753dd2 (patch) | |
tree | 06566a354d99e90ce576176a115a489eece04c80 | |
parent | efca6856f4f9654169e4c077c4da1f674b7b7099 (diff) | |
parent | 26a6b65af5d6ea42fa23b82e24c01abe0b193c5f (diff) |
Merge "[k6] Output git build info in k6 log"
-rwxr-xr-x | k6-tests/setup.sh | 7 |
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 |