From d590687002296fc2c64bcbd1a03317c750f06bef Mon Sep 17 00:00:00 2001 From: Nikita Menkovich Date: Tue, 21 Jan 2025 12:09:48 +0100 Subject: [PATCH] fix: upload less files to s3 --- .github/actions/test/action.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/actions/test/action.yaml b/.github/actions/test/action.yaml index ffdc94cd5d6..5bb746fd82a 100644 --- a/.github/actions/test/action.yaml +++ b/.github/actions/test/action.yaml @@ -278,11 +278,17 @@ runs: echo "::group::remove-binaries-from-tests-data-dir" find "$TESTS_DATA_DIR" -type f -print0 | xargs -0 -n 10 file -i | grep "application/x-executable" | awk -F: '{print $1}' find "$TESTS_DATA_DIR" -type f -print0 | xargs -0 -n 10 file -i | grep "application/x-executable" | awk -F: '{print $1}' | xargs rm + find "$TESTS_DATA_DIR" -type f -print -name "*.so" + find "$TESTS_DATA_DIR" -type f -print -name "*.so" -delete echo "::endgroup::" echo "::group::remove-images-from-tests-data-dir" find "$TESTS_DATA_DIR" -name generated_raw_image -o -name generated_vmdk_image -o -name invalid_qcow2_image -o -name qcow2_fuzzing_image find "$TESTS_DATA_DIR" \( -name generated_raw_image -o -name generated_vmdk_image -o -name invalid_qcow2_image -o -name qcow2_fuzzing_image \) -delete echo "::endgroup::" + echo "::group::remove-randrw-test-data-from-tests-data-dir" + find "$TESTS_DATA_DIR" -name "randrw.*" -o -name "randwrite.*" -o -name "randread.*" + find "$TESTS_DATA_DIR" \( -name "randrw.*" -o -name "randwrite.*" -o -name "randread.*" \) -delete + echo "::endgroup::" echo "::group::s3-sync" if [ "$SYNC_TO_S3" = "true" ]; then