From ef62de1a9cd4ac93f0c5c3e13f360560b39791d5 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 2 Oct 2023 15:11:06 -0700 Subject: [PATCH 1/3] Remove AAD credentials from Service-Level-Readme-Automation.ps1 invocation --- eng/pipelines/docindex.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/eng/pipelines/docindex.yml b/eng/pipelines/docindex.yml index 55720dd2989a..29bb1094b94c 100644 --- a/eng/pipelines/docindex.yml +++ b/eng/pipelines/docindex.yml @@ -56,9 +56,6 @@ jobs: filePath: eng/common/scripts/Service-Level-Readme-Automation.ps1 arguments: >- -DocRepoLocation $(DocRepoLocation) - -TenantId '$(opensource-aad-tenant-id)' - -ClientId '$(opensource-aad-app-id)' - -ClientSecret '$(opensource-aad-secret)' displayName: Generate Service Level Readme for main branch condition: and(succeeded(), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Force.MainUpdate'], 'true'))) @@ -143,11 +140,7 @@ jobs: inputs: pwsh: true filePath: eng/common/scripts/Service-Level-Readme-Automation.ps1 - arguments: >- - -DocRepoLocation $(DailyDocRepoLocation) - -TenantId '$(opensource-aad-tenant-id)' - -ClientId '$(opensource-aad-app-id)' - -ClientSecret '$(opensource-aad-secret)' + arguments: -DocRepoLocation $(DailyDocRepoLocation) displayName: Generate Service Level Readme for Daily docs - task: Powershell@2 inputs: @@ -162,8 +155,7 @@ jobs: inputs: pwsh: true filePath: eng/common/scripts/Verify-RequiredDocsJsonMembers.ps1 - arguments: >- - -DocRepoLocation $(DocRepoLocation) + arguments: -DocRepoLocation $(DocRepoLocation) displayName: Verify Required Docs Json Members - template: /eng/common/pipelines/templates/steps/git-push-changes.yml From 61ce5679405de882b31183141f7f7a04a6250945 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 2 Oct 2023 15:13:55 -0700 Subject: [PATCH 2/3] YAML formatting --- eng/pipelines/docindex.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eng/pipelines/docindex.yml b/eng/pipelines/docindex.yml index 29bb1094b94c..73e96254695a 100644 --- a/eng/pipelines/docindex.yml +++ b/eng/pipelines/docindex.yml @@ -54,8 +54,7 @@ jobs: inputs: pwsh: true filePath: eng/common/scripts/Service-Level-Readme-Automation.ps1 - arguments: >- - -DocRepoLocation $(DocRepoLocation) + arguments: -DocRepoLocation $(DocRepoLocation) displayName: Generate Service Level Readme for main branch condition: and(succeeded(), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Force.MainUpdate'], 'true'))) From b2673673d62062ed2d5f2b275ff687777a870f54 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 2 Oct 2023 15:15:11 -0700 Subject: [PATCH 3/3] Revert formatting for Verify-RequiredDocsJsonMembers.ps1 --- eng/pipelines/docindex.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/docindex.yml b/eng/pipelines/docindex.yml index 73e96254695a..5b69beaaa6e1 100644 --- a/eng/pipelines/docindex.yml +++ b/eng/pipelines/docindex.yml @@ -154,7 +154,8 @@ jobs: inputs: pwsh: true filePath: eng/common/scripts/Verify-RequiredDocsJsonMembers.ps1 - arguments: -DocRepoLocation $(DocRepoLocation) + arguments: >- + -DocRepoLocation $(DocRepoLocation) displayName: Verify Required Docs Json Members - template: /eng/common/pipelines/templates/steps/git-push-changes.yml