From c59594614dddd78e3484f0792cbbbda3a7cc0628 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Tue, 12 Nov 2024 16:58:40 +0100 Subject: [PATCH] ci: less verbose S3 upload --- .github/actions/ui-report/action.yml | 4 ++-- .github/workflows/core.yml | 6 +++--- .github/workflows/legacy.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/ui-report/action.yml b/.github/actions/ui-report/action.yml index 170e902602..080cc5ab6b 100644 --- a/.github/actions/ui-report/action.yml +++ b/.github/actions/ui-report/action.yml @@ -38,12 +38,12 @@ runs: shell: sh - name: Upload report run: | - aws s3 sync --no-progress ${{ github.run_id }} s3://data.trezor.io/dev/firmware/ui_report/${{ github.run_id }} + aws s3 sync --only-show-errors ${{ github.run_id }} s3://data.trezor.io/dev/firmware/ui_report/${{ github.run_id }} echo "[UI test report](https://data.trezor.io/dev/firmware/ui_report/${{ github.run_id }}/${{ inputs.model }}-${{ inputs.lang }}-${{ github.job }}/index.html)" >> $GITHUB_STEP_SUMMARY shell: sh - name: Upload test screen recording run: | - aws s3 sync --no-progress ci/ui_test_records s3://data.trezor.io/dev/firmware/ui_tests + aws s3 sync --only-show-errors ci/ui_test_records s3://data.trezor.io/dev/firmware/ui_tests # TODO: generate directory listing / autoindex shell: sh - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index e5375b0747..95fc1db1bd 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -703,7 +703,7 @@ jobs: fi - name: Upload diff from main branch run: | - aws s3 sync --no-progress master_diff s3://data.trezor.io/dev/firmware/master_diff/${{ github.run_id }} + aws s3 sync --only-show-errors master_diff s3://data.trezor.io/dev/firmware/master_diff/${{ github.run_id }} continue-on-error: true core_ui_comment: @@ -734,7 +734,7 @@ jobs: continue-on-error: true - run: | rm unix/trezor-emu-core - aws s3 sync --no-progress unix s3://data.trezor.io/dev/firmware/emu-nightly + aws s3 sync --only-show-errors unix s3://data.trezor.io/dev/firmware/emu-nightly core_upload_emu_branch: name: Upload emulator binaries for the current branch @@ -766,7 +766,7 @@ jobs: - name: Upload artifacts to branch directory run: | rm unix/trezor-emu-core - aws s3 sync --no-progress unix s3://data.trezor.io/dev/firmware/emu-branches/$branch_name + aws s3 sync --only-show-errors unix s3://data.trezor.io/dev/firmware/emu-branches/$branch_name # Connect # TODO: core_connect_test diff --git a/.github/workflows/legacy.yml b/.github/workflows/legacy.yml index 31e9a33506..abb26e2c90 100644 --- a/.github/workflows/legacy.yml +++ b/.github/workflows/legacy.yml @@ -214,7 +214,7 @@ jobs: fi - name: Upload main branch diff run: | - aws s3 sync --no-progress master_diff s3://data.trezor.io/dev/firmware/master_diff/${{ github.run_id }} + aws s3 sync --only-show-errors master_diff s3://data.trezor.io/dev/firmware/master_diff/${{ github.run_id }} continue-on-error: true legacy_ui_comment: @@ -246,4 +246,4 @@ jobs: - run: | mkdir emulators cp trezor-emu-* emulators - aws s3 sync --no-progress emulators s3://data.trezor.io/dev/firmware/emu-nightly + aws s3 sync --only-show-errors emulators s3://data.trezor.io/dev/firmware/emu-nightly