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

ci: use blobless clones in publishing pipelines #2315

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

tido64
Copy link
Member

@tido64 tido64 commented Dec 6, 2024

Summary:

On CI, checkouts start by creating a new Git repo, then adding a remote and performing a checkout to a specific commit. This means that we're usually left in a headless state. Switching to a blobless clone should allow us to access full Git history without the cost of a full clone.

Test Plan:

Verified that git show HEAD works:

image

Logs: https://dev.azure.com/ms/react-native/_build/results?buildId=617877&view=logs&j=31c9baed-b2a6-554c-7a70-551207daefaf&t=7e256de5-d29e-5b82-98c8-a05e66789a98

On CI, checkouts start by creating a new Git repo, then adding a remote
and performing a checkout to a specific commit. This means that we're
usually left in a headless state. Switching to a blobless clone should
allow us to access full Git history without the cost of a full clone.
@tido64 tido64 requested a review from a team as a code owner December 6, 2024 09:07
@tido64 tido64 force-pushed the tido/blobless-clone branch from fd0e616 to 472db60 Compare December 6, 2024 09:35
@tido64 tido64 merged commit 5bf84b1 into main Dec 6, 2024
15 checks passed
tido64 added a commit that referenced this pull request Dec 6, 2024
On CI, checkouts start by creating a new Git repo, then adding a remote
and performing a checkout to a specific commit. This means that we're
usually left in a headless state. Switching to a blobless clone should
allow us to access full Git history without the cost of a full clone.
@tido64 tido64 deleted the tido/blobless-clone branch December 6, 2024 15:01
tido64 added a commit that referenced this pull request Dec 6, 2024
On CI, checkouts start by creating a new Git repo, then adding a remote
and performing a checkout to a specific commit. This means that we're
usually left in a headless state. Switching to a blobless clone should
allow us to access full Git history without the cost of a full clone.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants