From 66e263715f65bb34f6871af21f3a064bbfe73fcd Mon Sep 17 00:00:00 2001 From: ashmrtn <3891298+ashmrtn@users.noreply.github.com> Date: Mon, 11 Sep 2023 15:31:41 -0700 Subject: [PATCH] Fix reference to test site ID (#4223) Pull site ID from environment not secrets --- #### 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 #### Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- .github/workflows/sanity-test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sanity-test.yaml b/.github/workflows/sanity-test.yaml index 738f357b9..3bd0c3d11 100644 --- a/.github/workflows/sanity-test.yaml +++ b/.github/workflows/sanity-test.yaml @@ -336,7 +336,7 @@ jobs: suffix=$(date +"%Y-%m-%d_%H-%M-%S") go run . sharepoint files \ - --site ${{ secrets.CORSO_M365_TEST_GROUPS_SITE_URL }} \ + --site ${{ vars.CORSO_M365_TEST_GROUPS_SITE_URL }} \ --user ${{ env.TEST_USER }} \ --secondaryuser ${{ env.CORSO_SECONDARY_M365_TEST_USER_ID }} \ --tenant ${{ secrets.TENANT_ID }} \ @@ -351,7 +351,7 @@ jobs: with: service: groups kind: initial - backup-args: '--group "${{ secrets.CORSO_M365_TEST_TEAM_ID }}"' + 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 }} @@ -361,7 +361,7 @@ jobs: with: service: teams kind: initial - backup-args: '--group "${{ secrets.CORSO_M365_TEST_TEAM_ID }}"' + 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 }}