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

Don't delete .git when cleaning the workspace. #475

Merged
merged 1 commit into from Aug 31, 2016

Conversation

rmmh
Copy link
Contributor

@rmmh rmmh commented Aug 30, 2016

This means a full clone isn't necessary, reducing the likelihood that
Github will rate-limit our repository.

I manually added this to the kubernetes-pull-verify-all job for testing, and it seems to be working fine. The git plugin Does The Right Thing when .git already exists.


This change is Reviewable

@ixdy
Copy link
Member

ixdy commented Aug 30, 2016

Didn't we try this once and have issues?

@spxtr
Copy link
Contributor

spxtr commented Aug 30, 2016

We tried doing a shallow clone and had issues.

@rmmh
Copy link
Contributor Author

rmmh commented Aug 30, 2016

XML diff matches expectations: https://travis-ci.org/kubernetes/test-infra/builds/156383088#L408

@spxtr
Copy link
Contributor

spxtr commented Aug 31, 2016

The kubernetes-build jobs have an additional workspace cleanup you'll need to hit. Or just get rid of it.

This means a full clone isn't necessary, reducing the likelihood that
Github will rate-limit our repository.
@rmmh
Copy link
Contributor Author

rmmh commented Aug 31, 2016

Oops, fixed the other one. This is only hitting a few of the builds, so if it fails (hopefully won't!) it won't be as catastrophic.

@fejta fejta added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 31, 2016
@fejta
Copy link
Contributor

fejta commented Aug 31, 2016

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants