From 10d8b9c12b19fc3a1e40c0b717c4f6c96b86f8a7 Mon Sep 17 00:00:00 2001 From: ashmrtn Date: Thu, 6 Apr 2023 09:00:05 -0700 Subject: [PATCH] Don't report stats for sanity tests (#3043) #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [x] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Supportability/Tests - [x] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup #### Issue(s) * closes #3042 --- .github/workflows/sanity-test.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sanity-test.yaml b/.github/workflows/sanity-test.yaml index 3ff954b81..4def40f29 100644 --- a/.github/workflows/sanity-test.yaml +++ b/.github/workflows/sanity-test.yaml @@ -70,6 +70,7 @@ jobs: prefix=`date +"%Y-%m-%d-%T"` ./corso repo init s3 \ + --no-stats \ --hide-progress \ --prefix $prefix \ --bucket ${CORSO_BUCKET} 2>&1 | tee $TEST_RESULT/initrepo.txt @@ -87,6 +88,7 @@ jobs: run: | set -euo pipefail ./corso repo connect s3 \ + --no-stats \ --hide-progress \ --prefix ${{ steps.repo-init.outputs.result }} \ --bucket ${CORSO_BUCKET} 2>&1 | tee $TEST_RESULT/connect.txt @@ -118,6 +120,7 @@ jobs: id: exchange-test run: | ./corso backup create exchange \ + --no-stats \ --user "${CORSO_M365_TEST_USER_ID}" \ --hide-progress \ --data 'email' \ @@ -139,6 +142,7 @@ jobs: run: | set -euo pipefail ./corso backup list exchange \ + --no-stats \ --hide-progress \ 2>&1 | tee $TEST_RESULT/backup_exchange_list.txt @@ -153,6 +157,7 @@ jobs: run: | set -euo pipefail ./corso backup list exchange \ + --no-stats \ --hide-progress \ --backup "${{ steps.exchange-test.outputs.result }}" \ 2>&1 | tee $TEST_RESULT/backup_exchange_list_single.txt @@ -169,6 +174,7 @@ jobs: run: | set -euo pipefail ./corso restore exchange \ + --no-stats \ --email-folder Corso_Restore_st_${{ steps.repo-init.outputs.result }} \ --hide-progress \ --backup "${{ steps.exchange-test.outputs.result }}" \ @@ -190,6 +196,7 @@ jobs: run: | set -euo pipefail ./corso backup create exchange \ + --no-stats \ --hide-progress \ --user "${CORSO_M365_TEST_USER_ID}" \ --json \ @@ -210,6 +217,7 @@ jobs: run: | set -euo pipefail ./corso restore exchange \ + --no-stats \ --hide-progress \ --backup "${{ steps.exchange-incremental-test.outputs.result }}" \ --email-folder Corso_Restore_st_${{ steps.repo-init.outputs.result }} \ @@ -235,6 +243,7 @@ jobs: run: | set -euo pipefail ./corso backup create onedrive \ + --no-stats \ --hide-progress \ --user "${CORSO_M365_TEST_USER_ID}" \ --json \ @@ -255,6 +264,7 @@ jobs: run: | set -euo pipefail ./corso backup list onedrive \ + --no-stats \ --hide-progress \ 2>&1 | tee $TEST_RESULT/backup_onedrive_list.txt @@ -269,6 +279,7 @@ jobs: run: | set -euo pipefail ./corso backup list onedrive \ + --no-stats \ --hide-progress \ --backup "${{ steps.onedrive-test.outputs.result }}" \ 2>&1 | tee $TEST_RESULT/backup_onedrive_list_single.txt @@ -285,6 +296,7 @@ jobs: run: | set -euo pipefail ./corso restore onedrive \ + --no-stats \ --restore-permissions \ --hide-progress \ --backup "${{ steps.onedrive-test.outputs.result }}" \ @@ -300,11 +312,12 @@ jobs: ./sanityCheck # test onedrive incremental - - name: Backup onedrive test + - name: Backup onedrive incremental id: onedrive-incremental-test run: | set -euo pipefail ./corso backup create onedrive \ + --no-stats \ --hide-progress \ --user "${CORSO_M365_TEST_USER_ID}" \ --json \ @@ -326,6 +339,7 @@ jobs: run: | set -euo pipefail ./corso restore onedrive \ + --no-stats \ --restore-permissions \ --hide-progress \ --backup "${{ steps.onedrive-incremental-test.outputs.result }}" \