From 031ff09d4328e1f9ed9d84bcb9f6e0ab9c77e339 Mon Sep 17 00:00:00 2001 From: shenyushi Date: Tue, 17 Dec 2024 19:07:10 +0800 Subject: [PATCH] Remove cluster test in release action. --- .github/workflows/tests.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1e4a488d0d..8dddf82295 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -244,17 +244,17 @@ jobs: if: ${{ !cancelled() && !failure() }} run: sudo docker exec ${BUILDER_CONTAINER} bash -c "rm -rf /root/.config/pip/pip.conf && cd /infinity/ && pip3 uninstall -y infinity-sdk infinity-embedded-sdk && pip3 install . -v --config-settings=cmake.build-type='RelWithDebInfo' --config-settings=build-dir='cmake-build-release' -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host tuna.tsinghua.edu.cn && cd python/infinity_sdk/ && pip3 install . -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host tuna.tsinghua.edu.cn && cd ../.." - - name: Run cluster test - if: ${{ !cancelled() && !failure() }} - id: run_cluster_test - run: | - sudo docker exec ${BUILDER_CONTAINER} bash -c "cd /infinity/ && rm -fr /var/infinity && export INF_DIRECTORY=`cat .tester_env` && echo INF_DIRECTORY=${INF_DIRECTORY} && python3 tools/run_cluster_test.py --infinity_path=cmake-build-release/src/infinity --infinity_dir=${INF_DIRECTORY} --minio_port=9005 --minio_console_port=9006" - - - name: Collect cluster test output - if: ${{ !cancelled() }} - run: | - failure="${{ steps.run_cluster_test.outcome == 'failure'}}" - sudo python3 scripts/collect_cluster_log.py --executable_path=cmake-build-release/src/infinity --log_dir=/var/infinity/ --output_dir=${RUNNER_WORKSPACE_PREFIX}/log --failure=${failure} + # - name: Run cluster test + # if: ${{ !cancelled() && !failure() }} + # id: run_cluster_test + # run: | + # sudo docker exec ${BUILDER_CONTAINER} bash -c "cd /infinity/ && rm -fr /var/infinity && export INF_DIRECTORY=`cat .tester_env` && echo INF_DIRECTORY=${INF_DIRECTORY} && python3 tools/run_cluster_test.py --infinity_path=cmake-build-release/src/infinity --infinity_dir=${INF_DIRECTORY} --minio_port=9005 --minio_console_port=9006" + + # - name: Collect cluster test output + # if: ${{ !cancelled() }} + # run: | + # failure="${{ steps.run_cluster_test.outcome == 'failure'}}" + # sudo python3 scripts/collect_cluster_log.py --executable_path=cmake-build-release/src/infinity --log_dir=/var/infinity/ --output_dir=${RUNNER_WORKSPACE_PREFIX}/log --failure=${failure} - name: Prepare restart test data if: ${{ !cancelled() && !failure() }}