-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Fix .git rsync filter for prow #55530
Conversation
This will need to be picked back to at least 1.8, but and possibly manually applied to 1.7/1.6. |
/approve no-issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, cblecker Associated issue requirement bypassed by: cblecker The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
Nice sleuthing, @cblecker. (Also, this is terrible. 🙃) |
What this PR does / why we need it:
The prow bootstrap job uses the
--separate-git-dir
flag when cloning the target repo. This leaves a text file named./.git
containing the path to the git dir instead of the typical./.git/
directory right in the working tree.This modifies the rsync filter to filter out this file or directory, so that jobs that use the build container system aren't tripped up by a text file that points to a directory that doesn't exist in the build container system.
Release note: