-
Notifications
You must be signed in to change notification settings - Fork 66
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
multi-gitter run does not sign commits #261
Comments
AFAIU a |
@jetersen When running with If implemented, I would be happy to merge a PR that adds support for signing natively in both git modes. But that should be behind a flag since it's not the default git behavior. (behind the |
I can give it a shot :) |
@lemeurherve it worked for me: jenkinsci/jenkins-infra-test-plugin#40 Question is do you have a password on your key? Perhaps you need to configure for interactivity so you could enter your password? Not sure if git would detect the tty being available. One trick you can do regarding gpg commit signing is create a subkey without password. If you want to keep to master key secure. |
While testing though I found conditional logic bug, for some reason it says the feature branch existed even though it was a new fork. This was using multi-gitter/internal/multigitter/run.go Line 294 in eb15db4
concurrent: 1
git-type: cmd
conflict-strategy: replace
fork: true
fork-owner: jetersen-cloud
log-file: '-'
log-format: text
log-level: debug
repo:
- jenkinsci/jenkins-infra-test-plugin
branch: test-multi-gitter
commit-message: Testing Multi Gitter
pr-title: Testing multi-gitter
pr-body: |
Testing out the multi-gitter with gpg signing.
Sweet 💣 |
Although it would be nice to support |
@jetersen In regards to the newly created fork and the branch already existing. Could the branch name have existed in the original repo, before the fork? In that case the branch would have been copied to the fork, and it would exist. |
I've been thinking of creating a new flag/setting called something like "--extra-commit-args" that would only work with git-type: cmd. That way it would be possible to use these, and other features before it's implemented for real in multi-gitter, or things that might not ever be implemented. |
|
@lindell I had to remove multi-gitter/internal/git/cmdgit/git.go Line 87 in 8334e34
|
Describe the bug
Should be able to understand signing commits
To Reproduce
Steps to reproduce the behavior:
multi-gitter run -xxx
git verify-commit HEAD
Expected behavior
Commits are signed
Additional context
Changing
git-type
tocmd
does not workThe text was updated successfully, but these errors were encountered: