Skip to content

Commit 0d709bb

Browse files
Only checkout PerfAutomation from azure-sdk-tools - Other files in azure-sdk-tools repo are unnecessary - Unnecessary checkout hurts perf and increases security footprint (#53427)
Co-authored-by: Mike Harder <[email protected]>
1 parent 634993c commit 0d709bb

File tree

1 file changed

+7
-0
lines changed
  • eng/common/pipelines/templates/jobs

1 file changed

+7
-0
lines changed

eng/common/pipelines/templates/jobs/perf.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,16 @@ jobs:
105105
- Name: ${{ parameters.LanguageRepoName }}
106106
Commitish: ${{ parameters.LanguageRepoCommitish }}
107107
WorkingDirectory: $(System.DefaultWorkingDirectory)
108+
109+
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
110+
parameters:
111+
Paths:
112+
- 'tools/perf-automation/Azure.Sdk.Tools.PerfAutomation'
113+
Repositories:
108114
- Name: Azure/azure-sdk-tools
109115
Commitish: ${{ parameters.ToolsRepoCommitish }}
110116
WorkingDirectory: $(System.DefaultWorkingDirectory)/azure-sdk-tools
117+
SkipCheckoutNone: true
111118

112119
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml
113120
parameters:

0 commit comments

Comments
 (0)