Skip to content

Commit

Permalink
ci: less verbose S3 upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mmilata committed Nov 27, 2024
1 parent 9dee211 commit c595946
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/actions/ui-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit c595946

Please sign in to comment.