ci(tests): use copy --no-overwrite instead of sync for screenshots upload

[no changelog]
This commit is contained in:
Michal Kazda
2026-02-03 10:15:37 +01:00
committed by GitHub
parent 3f38c8e8bc
commit 93050071d9

View File

@@ -53,16 +53,16 @@ runs:
# Upload report # Upload report
du -sh ${{ github.run_id }} du -sh ${{ github.run_id }}
ls -l ${{ github.run_id }} ls -l ${{ github.run_id }}
aws s3 cp --recursive --only-show-errors ${{ github.run_id }} s3://data.trezor.io/dev/firmware/ui_report/${{ github.run_id }} & aws s3 cp --no-overwrite --recursive --only-show-errors ${{ github.run_id }} s3://data.trezor.io/dev/firmware/ui_report/${{ github.run_id }} &
PID1=$! PID1=$!
# Upload test screen recording # Upload test screen recording
du -sh ci/ui_test_records du -sh ci/ui_test_records
aws s3 sync --only-show-errors ci/ui_test_records s3://data.trezor.io/dev/firmware/ui_tests & aws s3 cp --no-overwrite --recursive --only-show-errors ci/ui_test_records s3://data.trezor.io/dev/firmware/ui_tests &
PID2=$! PID2=$!
# TODO: generate directory listing / autoindex # TODO: generate directory listing / autoindex
# Wait for the above sync jobs to finish (fail if one of them fails) # Wait for the above copy jobs to finish (fail if one of them fails)
wait $PID1 wait $PID1
wait $PID2 wait $PID2
shell: sh shell: sh