with actual push

This commit is contained in:
2022-09-12 22:05:06 +02:00
parent 56bfba5c17
commit b1094294b5
4 changed files with 164 additions and 35 deletions

View File

@@ -38,8 +38,9 @@ func NewServerDeps(logger *zap.Logger) *ServerDeps {
}
openPGPConfig := &signer.OpenPgpConfig{
PrivateKeyFilePath: "./examples/private.pgp",
PrivateKeyFilePath: "./example/testkey.private.pgp",
PrivateKeyPassword: "somepassword",
PrivateKeyIdentity: "kraken@kasperhermansen.com",
}
deps.openPGP = signer.NewOpenPGP(logger.With(zap.Namespace("openpgp")), openPGPConfig)
@@ -51,7 +52,7 @@ func (deps *ServerDeps) GetStorageService() *storage.Service {
}
func (deps *ServerDeps) GetGitProvider() *providers.Git {
return providers.NewGit(deps.logger.With(zap.Namespace("gitProvider")), deps.gitCfg)
return providers.NewGit(deps.logger.With(zap.Namespace("gitProvider")), deps.gitCfg, deps.openPGP)
}
func (deps *ServerDeps) GetAction() *actions.Action {