-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[release/8.0-staging] Add fetchTags: false to checkout steps in pipeline YAML files #122417
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/8.0-staging
Are you sure you want to change the base?
Conversation
Co-authored-by: elinor-fung <[email protected]>
Co-authored-by: elinor-fung <[email protected]>
|
cc @agocke |
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 adds fetchTags: false to all Azure Pipelines checkout steps in the runtime CI configuration to optimize checkout performance by avoiding unnecessary git tag fetching operations.
Key changes:
- Added
fetchTags: falseparameter to 10 checkout steps across 8 pipeline YAML files - Changes are consistently applied to all checkout operations in pipeline templates and job definitions
- Maintains existing checkout configuration parameters (clean, fetchDepth, lfs where applicable)
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/official/jobs/prepare-signed-artifacts.yml |
Added fetchTags parameter to signed artifacts preparation checkout step |
eng/pipelines/libraries/stress/ssl.yml |
Added fetchTags parameter to both Linux and Windows SSL stress test checkout steps |
eng/pipelines/libraries/stress/http.yml |
Added fetchTags parameter to both Linux and Windows HTTP stress test checkout steps |
eng/pipelines/libraries/base-job.yml |
Added fetchTags parameter to libraries base job template checkout step |
eng/pipelines/installer/jobs/build-job.yml |
Added fetchTags parameter to installer build job checkout step |
eng/pipelines/common/templates/runtimes/xplat-job.yml |
Added fetchTags parameter to cross-platform runtime job template checkout step |
eng/pipelines/common/global-build-job.yml |
Added fetchTags parameter to global build job checkout step |
eng/pipelines/common/evaluate-paths-job.yml |
Added fetchTags parameter to path evaluation job checkout step |
Adds
fetchTags: falseto Azure Pipelines checkout steps to skip fetching git tags during repository checkout, reducing network overhead and improving checkout performance.Changes
eng/pipelines/:base-job.yml,xplat-job.yml,build-job.ymlhttp.yml,ssl.yml(2 occurrences each)evaluate-paths-job.yml,global-build-job.ymlprepare-signed-artifacts.ymlNote: Changes to
eng/common/templates were excluded as those are shared infrastructure files managed separately.Example
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.