-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Bazel: support sub directories #2312
Conversation
Codecov Report
|
6ca8d22
to
85d91af
Compare
25df53f
to
60a0645
Compare
|
||
parent := filepath.Dir(dir) | ||
if parent == dir { | ||
return "", errors.New("no git repository found") |
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.
should this message be something bazel-related instead of git-related?
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.
Lol. I’ll fix that tomorrow!
Fix GoogleContainerTools#2070 Signed-off-by: David Gageot <[email protected]>
@nkubala This is fixed now |
This PR is based on this other PR: #2309
We use to only support Bazel projects with the WORKSPACE located in the artifact's workspace. Now, the artifact can be in a sub folder of the Bazel project.