From a2918f529480eb4f4884cd91a68141c964701393 Mon Sep 17 00:00:00 2001 From: James Ryans Date: Wed, 8 May 2024 22:38:33 +0700 Subject: [PATCH] return cid to the func called Signed-off-by: James Ryans --- scripts/cassandra-integration-test.sh | 1 + scripts/es-integration-test.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/scripts/cassandra-integration-test.sh b/scripts/cassandra-integration-test.sh index 2025c915f76..e73c628b59d 100755 --- a/scripts/cassandra-integration-test.sh +++ b/scripts/cassandra-integration-test.sh @@ -25,6 +25,7 @@ setup_cassandra() { local cid cid=$(docker run "${params[@]}" "${image}:${tag}") echo "cid=${cid}" >> "$GITHUB_OUTPUT" + echo "${cid}" } teardown_cassandra() { diff --git a/scripts/es-integration-test.sh b/scripts/es-integration-test.sh index 0bd220e2b43..f4f11d4be6a 100755 --- a/scripts/es-integration-test.sh +++ b/scripts/es-integration-test.sh @@ -43,6 +43,7 @@ setup_es() { local cid cid=$(docker run "${params[@]}" "${image}:${tag}") echo "cid=${cid}" >> "$GITHUB_OUTPUT" + echo "${cid}" } setup_opensearch() { @@ -58,6 +59,7 @@ setup_opensearch() { local cid cid=$(docker run "${params[@]}" "${image}:${tag}") echo "cid=${cid}" >> "$GITHUB_OUTPUT" + echo "${cid}" } wait_for_storage() {