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

Change git strategy to start from a clean slate each time #1234

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

white238
Copy link
Member

The default GIT_STRATEGY for Gitlab is fetch, which reuses the git repo if it is present. This changes it to clone which will start from a clean slate.

Hopefully this fixes #1233 but we won't know for a while due to this being intermittent.

https://docs.gitlab.com/ee/ci/runners/configure_runners.html#git-strategy

@white238 white238 added the CI Continuous Integration label Sep 17, 2024
@white238 white238 added the ready for review Ready for active inspection by reviewers label Sep 17, 2024
Copy link
Collaborator

@tupek2 tupek2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this going to increase ci time much. or maybe not significantly?

@white238
Copy link
Member Author

Is this going to increase ci time much. or maybe not significantly?

I doubt it, our repo isn't very large.

@white238 white238 merged commit e86f702 into develop Sep 18, 2024
2 checks passed
@white238 white238 deleted the task/white238/change_gitlab_git_strategy branch September 18, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration ready for review Ready for active inspection by reviewers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Occasional CI failures on LC
3 participants