-
Notifications
You must be signed in to change notification settings - Fork 46
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
Run an init script in the container builds to set git email #3045
Conversation
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.
Why do we need to do this? Theoritically, the only needed changes was done in #3021 and the build of the images was fixed.
/retest |
Yes, you can't build the images by hand from the Dockerfiles without this. So the |
Developers should have configured their user name and email locally. Actually, I didn't hit the issue when I tried to run this script. The problem with these changes is that we will always use the user of the last commit. |
Yes, I agree. I do actually have the name and email configured locally. The problem is that I had that information configured in Any thoughts on the best way to warn people about this? |
Indeed, this is a very annoying change by the Nebula release plugin (why are we using this plugin? :S) To be honest, since we're not really using the GIT user for anything, I would be ok to add the following:
as part of the build-images.sh script as done also in 50a0a98. This is mostly to avoid having to modify all the Dockerfile (and hence increasing the complexity of those) to deal with a suspicious change of the Nebula plugin. |
I thought about that, but wouldn't that end up affecting the person's local repo? It'd end up setting the username and email in their local repo to whatever HEAD was. Maybe the easiest thing is just a note in the README. |
37115fb
to
928a39e
Compare
This is a result of the update of
com.netflix.nebula:nebula-release-plugin from 18.0.8 to 19.0.4. For
some reason the new plugin demands that the user.name and user.email be
set in the git configuration.