Commit Graph

9 Commits

Author SHA1 Message Date
Stan Hu 3fda119ea3 Make CreateGpgSignatureWorker backwards compatible with original method signature
Older versions of GitPushService push a single commit SHA string to the queue,
but Gitaly requires that the parameters sent by CreateGpgSignatureWorker are
an array. It's possible to have old workers using this original signature or
jobs in the retry queue that would fail if CreateGpgSignatureWorker can't
handle the string form.
2018-08-02 16:06:17 -07:00
Peter Leitzen 341d379e07 Fix typos in CreateGpgSignatureWorker spec 2018-07-30 20:17:19 +00:00
Francisco Javier López 9a81550fed Create GPG commit signature in bulk 2018-07-30 16:55:28 +00:00
Alexis Reigel 508ff17b34 pass whole commit to Gitlab::Gpg::Commit again
we need the commit object for the updated verification that also checks
the committer's email to match the gpg key and user's emails.
2017-09-05 12:18:31 +02:00
Douwe Maan ba7251fefd Only create commit GPG signature when necessary 2017-08-16 18:57:50 +02:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Robert Speicher 9513bd18c4 Ensure all project factories use `:repository` trait or `:empty_project` 2017-08-01 14:51:52 -04:00
Alexis Reigel 7f7e93a344 remove log statements from workers 2017-07-27 15:46:04 +02:00
Alexis Reigel e63b693f28 generate gpg signature on push 2017-07-27 15:43:37 +02:00