Skip to content
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

Allow users to use gpg signing for bootstrap commits #1854

Merged
merged 1 commit into from
Oct 8, 2021
Merged

Allow users to use gpg signing for bootstrap commits #1854

merged 1 commit into from
Oct 8, 2021

Conversation

somtochiama
Copy link
Member

Close #1774

Signed-off-by: Somtochi Onyekwere somtochionyekwere@gmail.com

@somtochiama somtochiama marked this pull request as ready for review September 24, 2021 09:11
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking about future expansions of this feature, is it possible in Go to detect the user's running GPG agent?

Update: this does not seem to be possible in an easy way with out-of-the-box Go solutions. Your approach, but then with #1854 (comment) taken into account should do for now.

internal/bootstrap/git/git.go Outdated Show resolved Hide resolved
internal/bootstrap/options.go Outdated Show resolved Hide resolved
internal/bootstrap/git/gogit/gogit.go Outdated Show resolved Hide resolved
@somtochiama somtochiama closed this Oct 4, 2021
@somtochiama somtochiama deleted the gpg-signing branch October 4, 2021 09:39
@somtochiama somtochiama restored the gpg-signing branch October 4, 2021 10:21
@somtochiama somtochiama reopened this Oct 4, 2021
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for adding tests @somtochiama! This looks good to me, if you squash your commits (and the tests pass), it can be merged. 🥇

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
@stefanprodan stefanprodan added area/bootstrap Bootstrap related issues and pull requests enhancement New feature or request labels Oct 8, 2021
@stefanprodan stefanprodan merged commit 4d904e8 into fluxcd:main Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap Bootstrap related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flux bootstrap does not sign its commits
3 participants