From a610df9d6885366b53e20169e0fee51e8351b2b5 Mon Sep 17 00:00:00 2001 From: ashmrtn <3891298+ashmrtn@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:44:39 -0700 Subject: [PATCH] Temporarily disable groups and teams tests (#4224) Need some digging as to why delta requests are returning errors. --- #### 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 - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Supportability/Tests - [x] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup #### Test Plan - [ ] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- .github/workflows/sanity-test.yaml | 66 +++++++++++++++--------------- 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/.github/workflows/sanity-test.yaml b/.github/workflows/sanity-test.yaml index d61314724..87c1a4423 100644 --- a/.github/workflows/sanity-test.yaml +++ b/.github/workflows/sanity-test.yaml @@ -328,42 +328,44 @@ jobs: # Groups and Teams - # generate new entries for test - - name: Groups - Create new data - id: new-data-creation-groups - working-directory: ./src/cmd/factory - run: | - suffix=$(date +"%Y-%m-%d_%H-%M-%S") + # TODO(ashmrtn): Reenable when delta request issue is resolved. - go run . sharepoint files \ - --site ${{ vars.CORSO_M365_TEST_GROUPS_SITE_URL }} \ - --user ${{ env.TEST_USER }} \ - --secondaryuser ${{ env.CORSO_SECONDARY_M365_TEST_USER_ID }} \ - --tenant ${{ secrets.TENANT_ID }} \ - --destination ${{ env.RESTORE_DEST_PFX }}$suffix \ - --count 4 + ## generate new entries for test + #- name: Groups - Create new data + # id: new-data-creation-groups + # working-directory: ./src/cmd/factory + # run: | + # suffix=$(date +"%Y-%m-%d_%H-%M-%S") - echo result="${suffix}" >> $GITHUB_OUTPUT + # go run . sharepoint files \ + # --site ${{ vars.CORSO_M365_TEST_GROUPS_SITE_URL }} \ + # --user ${{ env.TEST_USER }} \ + # --secondaryuser ${{ env.CORSO_SECONDARY_M365_TEST_USER_ID }} \ + # --tenant ${{ secrets.TENANT_ID }} \ + # --destination ${{ env.RESTORE_DEST_PFX }}$suffix \ + # --count 4 - - name: Groups - Backup - id: groups-backup - uses: ./.github/actions/backup-restore-test - with: - service: groups - kind: initial - backup-args: '--group "${{ vars.CORSO_M365_TEST_TEAM_ID }}"' - test-folder: '${{ env.RESTORE_DEST_PFX }}${{ steps.new-data-creation-groups.outputs.result }}' - log-dir: ${{ env.CORSO_LOG_DIR }} + # echo result="${suffix}" >> $GITHUB_OUTPUT - - name: Teams - Backup - id: teams-backup - uses: ./.github/actions/backup-restore-test - with: - service: teams - kind: initial - backup-args: '--group "${{ vars.CORSO_M365_TEST_TEAM_ID }}"' - test-folder: '${{ env.RESTORE_DEST_PFX }}${{ steps.new-data-creation-groups.outputs.result }}' - log-dir: ${{ env.CORSO_LOG_DIR }} + #- name: Groups - Backup + # id: groups-backup + # uses: ./.github/actions/backup-restore-test + # with: + # service: groups + # kind: initial + # backup-args: '--group "${{ vars.CORSO_M365_TEST_TEAM_ID }}"' + # test-folder: '${{ env.RESTORE_DEST_PFX }}${{ steps.new-data-creation-groups.outputs.result }}' + # log-dir: ${{ env.CORSO_LOG_DIR }} + + #- name: Teams - Backup + # id: teams-backup + # uses: ./.github/actions/backup-restore-test + # with: + # service: teams + # kind: initial + # backup-args: '--group "${{ vars.CORSO_M365_TEST_TEAM_ID }}"' + # test-folder: '${{ env.RESTORE_DEST_PFX }}${{ steps.new-data-creation-groups.outputs.result }}' + # log-dir: ${{ env.CORSO_LOG_DIR }} # TODO: incrementals