Checkout is taking way too long

Hi @zeno.at.reckon,

Thank you for sending in a ticket regarding this issue!

I felt that adding the content here as well would make it publicly available, and useful for others who were having similar issues.

During several time periods within the last month, there were incidents reported on your vcs provider’s end that were related to slower cloning of repositories. While the issue was resolved, I would like to add some information regarding how to improve performance cloning repositories to your containers.

To improve checkout performance, you can perform a shallow clone. There are two ways to go about this:

  1. Create a custom checkout step
  2. Use one of the orbs available

For a list of orbs, please take a look at the following page:

https://circleci.com/developer/orbs?filterBy=all&query=shallow

More information on shallow cloning can be found in the following article:

1 Like