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

chore(ci): Speed up deploy step with shallow checkout #2123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamharvey-okta
Copy link

@adamharvey-okta adamharvey-okta commented Jun 4, 2024

This PR speeds up the deploy step in CI by performing a shallow checkout. I noticed it was taking ~3 minutes for every PR and production deploys off mainline. This should help both improve performance of the pipeline, as well as (slightly) reduce compute credit consumption in CircleCI. Supports OKTA-728901.

For the Cypress jobs, the checkout is built in and that'll need a different workaround.

Before After
image image

From 2 minutes 43 seconds to checkout, to 25 seconds. (roughly)

Useful references:

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.

None yet

1 participant