Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#2788] fix(ci): Fix CI issue after Github CI image is upgraded (#2784)

Qi Yu79a6311059c2
diff --git a/.github/workflows/backend-integration-test.yml b/.github/workflows/backend-integration-test.yml
index 68c616f8ec..e943922f83 100644
--- a/.github/workflows/backend-integration-test.yml
+++ b/.github/workflows/backend-integration-test.yml
@@ -97,7 +97,7 @@ jobs:
name: integrate test reports
path: |
build/reports
- integration-test/build/integration-test.log
+ integration-test/build/integration-test-integration-test.log
distribution/package/logs/gravitino-server.out
distribution/package/logs/gravitino-server.log
catalogs/**/*.log
\ No newline at end of file
diff --git a/integration-test/trino-it/launch.sh b/integration-test/trino-it/launch.sh
index 4ef366dcbe..1b349131c9 100755
--- a/integration-test/trino-it/launch.sh
+++ b/integration-test/trino-it/launch.sh
@@ -8,16 +8,16 @@ cd "$(dirname "$0")"
playground_dir="$(dirname "${BASH_SOURCE-$0}")"
playground_dir="$(cd "${playground_dir}">/dev/null; pwd)"
-isExist=`which docker-compose`
+isExist=`which docker`
if [ ! $isExist ]
then
- echo "ERROR: No docker service environment found, please install docker-compose first."
+ echo "ERROR: No docker service environment found, please install docker first."
exit
fi
cd ${playground_dir}
-docker-compose up -d
+docker compose up -d
if [ -n "$GRAVITINO_LOG_PATH" ]; then
LOG_PATH=$GRAVITINO_LOG_PATH
@@ -25,15 +25,15 @@ else
LOG_PATH=../build/integration-test.log
fi
-echo "The docker-compose log is: $LOG_PATH"
+echo "The docker compose log is: $LOG_PATH"
-nohup docker-compose logs -f -t >> $LOG_PATH &
+nohup docker compose logs -f -t >> $LOG_PATH &
max_attempts=600
for ((i = 0; i < max_attempts; i++)); do
- docker-compose exec -T trino trino --execute "SELECT 1" >/dev/null 2>&1 && {
- echo "All docker-compose service is now available."
+ docker compose exec -T trino trino --execute "SELECT 1" >/dev/null 2>&1 && {
+ echo "All docker compose service is now available."
exit 0
}
sleep 1
diff --git a/integration-test/trino-it/shutdown.sh b/integration-test/trino-it/shutdown.sh
index 492eff685b..69c6281d35 100755
--- a/integration-test/trino-it/shutdown.sh
+++ b/integration-test/trino-it/shutdown.sh
@@ -5,4 +5,4 @@
#
cd "$(dirname "$0")"
-docker-compose down
+docker compose down