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

Cache .git to improve checkout time #33845

Closed
wants to merge 9 commits into from
Closed

Cache .git to improve checkout time #33845

wants to merge 9 commits into from

Conversation

f-meloni
Copy link
Contributor

@f-meloni f-meloni commented May 17, 2022

Summary

Caching the .git to speed up the checkout.

https://circleci.com/docs/2.0/caching/#source-caching

Screenshot 2022-05-17 at 11 11 54

This doesn't work on the machines that use a docker executor

Screenshot 2022-05-17 at 12 17 14

Changelog

[Infrastructure] - Cache .git to improve checkout time

Test Plan

Run the change on Circle

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels May 17, 2022
@analysis-bot
Copy link

analysis-bot commented May 17, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 56e9aa3
Branch: main

@analysis-bot
Copy link

analysis-bot commented May 17, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,780,769 +0
android hermes armeabi-v7a 7,184,414 +0
android hermes x86 8,090,677 +0
android hermes x86_64 8,069,773 +0
android jsc arm64-v8a 9,653,405 +0
android jsc armeabi-v7a 8,425,816 +0
android jsc x86 9,603,911 +0
android jsc x86_64 10,200,191 +0

Base commit: 56e9aa3
Branch: main

@facebook-github-bot
Copy link
Contributor

@f-meloni has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@f-meloni has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @f-meloni in 7b703eb.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label May 18, 2022
@yungsters yungsters deleted the cache_checkout branch August 12, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants