-
Notifications
You must be signed in to change notification settings - Fork 394
Missing user.name, user.email causes BLT to effectively fail silently but show success #2940
Comments
This seems like a similar issue to what we saw in #53. I agree, though, that it should have thrown some kind of error rather than failing quietly. May or may not be germane, but the output of And I get that you've got client work that needs to be sanitized, but it would be very helpful to see even a sanitized output from |
@ba66e77 Yeah, not sure what's going on with |
FWIW, I have the same issue (missing git user and email) when running inside throw-away docker containers, and for me it DOES cause the artifact:deploy job to fail with an error code. |
I can't reproduce this in BLT 10.x using DrupalVM and Git 2.7.4, which has no git username or email set by default. If you can provide steps to reproduce under these conditions please reopen. I think later versions of Git automatically configure a username and email address if it's not set, so this should no longer be an issue unless you are using an old version of Git, which I'm not sure we can support. Additionally, BLT allows you to pass
|
My system information:
Output of
blt doctor
:When I run this command:
I get the following output:
Client work; can't paste it. But if I
cd deploy
(the deployment directory) andgit status
, I see many files ready to be committed, but not committed. If I typegit commit
, I see:And I expected this to happen:
I would have expected the build to fail, since
git commit
would have likely returned a non-zero exit code. Properly configuring commit credentials did indeed restore expected behavior. I ran into this when I set up a build server in order to be able to push BLT artifacts more quickly (my residential upload was quite slow).The text was updated successfully, but these errors were encountered: