Skip to content

Can we enable shallow cloning? #71

@BenSandeen

Description

@BenSandeen

Describe Request:

The code checkout step of this orb is the vast majority of the build time for this step in our CircleCI workflow. Shallow checkout (ie: using git clone --depth=1 would cut this step's duration by roughly 75% for our monolith codebase

Examples:

I don't know enough about how this orb works to provide code examples, but I may be willing to learn if it's not too involved

Supporting Documentation Links:

Here's our current task that uses this orb:
Screenshot 2023-04-14 at 10 27 02 AM

We use this shallow_checkout orb (https://circleci.com/developer/orbs/orb/datacamp/shallow-checkout) for the following steps of this build, and it routinely runs the code checkout step in 9-10 seconds, which would be a great benefit to speed up our builds a bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogIdentified as a backlog item, often combined with low-priority and help-wanted labelsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions