Skip to content

Commit

Permalink
fix: upload less files to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
librarian committed Jan 21, 2025
1 parent 0dd142c commit d590687
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d590687

Please sign in to comment.