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

[Elao - App -Docker] Speed up git release #435

Merged
merged 1 commit into from
May 23, 2024
Merged

Conversation

maximecolin
Copy link
Member

@maximecolin maximecolin commented May 23, 2024

With large git repo, git fetch here can be very long. The option --depth=1 will limit the fetched commit to the last one, improving the speed of the task.

On my project:

Task without --depth=1 with --depth=1
release : git > Init only 3'49" 1'18"
full release + deploy 6'36" 3'41"

@maximecolin maximecolin self-assigned this May 23, 2024
@nervo
Copy link
Member

nervo commented May 23, 2024

It looks like the equivalent of fetch-depth on checkout github action which is also 1 by default :) So i guess we don't take any risks.

@nervo nervo merged commit 192b9b3 into master May 23, 2024
2 checks passed
@nervo nervo deleted the maximecolin-patch-1 branch May 23, 2024 16:19
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.

4 participants