-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[release/9.0-staging] Add fetchTags: false to all checkout steps in CI pipelines #122402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/9.0-staging
Are you sure you want to change the base?
[release/9.0-staging] Add fetchTags: false to all checkout steps in CI pipelines #122402
Conversation
Co-authored-by: elinor-fung <[email protected]>
|
@agocke this in an infrastructure-only backport to decrease the amount of time spent in the checkout step in CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR optimizes CI pipeline performance by adding fetchTags: false to all checkout steps across the dotnet/runtime repository's Azure Pipelines configuration, preventing unnecessary git tag fetching during repository checkout operations.
Key changes:
- Added
fetchTags: falseparameter to 11 checkout steps across 8 pipeline YAML files - Changes span core build pipelines, stress test pipelines, fuzzing utilities, and performance test configurations
- Consistent formatting and indentation maintained across all modifications
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
eng/pipelines/common/global-build-job.yml |
Added fetchTags: false to the main build job checkout step |
eng/pipelines/common/templates/runtimes/xplat-job.yml |
Added fetchTags: false to the cross-platform runtime build checkout |
eng/pipelines/libraries/run-test-job.yml |
Added fetchTags: false to the library test execution checkout |
eng/pipelines/common/evaluate-paths-job.yml |
Added fetchTags: false to the path evaluation checkout (fetchDepth: 2) |
eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml |
Added fetchTags: false to the fuzzing deployment checkout |
eng/pipelines/coreclr/templates/perf-job.yml |
Added fetchTags: false to the dotnet-performance repository checkout |
eng/pipelines/libraries/stress/http.yml |
Added fetchTags: false to both Linux and Windows HTTP stress test checkouts |
eng/pipelines/libraries/stress/ssl.yml |
Added fetchTags: false to both Linux and Windows SSL stress test checkouts |
Adds
fetchTags: falseto all Azure Pipelines checkout steps to skip fetching git tags during repository checkout, reducing CI checkout time and network overhead.Changes
Updated 11 checkout steps across 9 pipeline files:
global-build-job.yml,xplat-job.yml,run-test-job.ymlhttp.yml(2 checkouts),ssl.yml(2 checkouts)evaluate-paths-job.yml,deploy-to-onefuzz.yml,publish-build-assets.ymlperf-job.yml(dotnet-performance repo checkout)Example change
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.