Skip to content
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

Use sparse-checkout to do a faster, shallow clone #7268

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

JimSuplizio
Copy link
Member

@benbp and I chatted briefly after standup. The linter needs the full repository but not the full history. azure-sdk-for-net's clone was taking 4 1/2-6 minutes because it was grabbing the history which we don't need. Flipping over to a shallow clone dropped the clone time down to 1m 1s. I'd grabbed the build definition check directly from net's ci.tests.yml since that could eventually be a gotcha.

@JimSuplizio JimSuplizio added the CODEOWNERS Linter Anything related to the CODEOWNERS linter label Nov 9, 2023
@JimSuplizio JimSuplizio self-assigned this Nov 9, 2023
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

azure-sdk added a commit to Azure/azure-sdk-for-js that referenced this pull request Nov 10, 2023
@JimSuplizio JimSuplizio enabled auto-merge (squash) November 10, 2023 00:21
@JimSuplizio JimSuplizio merged commit fbb75c9 into Azure:main Nov 10, 2023
12 checks passed
@JimSuplizio JimSuplizio deleted the LinterShallowClone branch November 10, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CODEOWNERS Linter Anything related to the CODEOWNERS linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants