You need to be the owner of the key in GitLab to add it as a deploy key to other projects.
On Mon, Mar 17, 2014 at 10:11 PM, Philipp Kraus <[email protected]> wrote: > The problem is, that I'm not the owner of the key, but the should definied > for all projects of the server. > At a moment a colleague uses the key in his private projects, so I cannot > add the key to my private projects. > We use Jenkins and I would like to create one globale deployment key in > Jenkins and add the key to Gitlab, > so that each user and each group can use this key in his/her projects > > Phil > > > Am Montag, 17. März 2014 18:13:00 UTC+1 schrieb Sytse Sijbrandij: >> >> You mean you get an error when you want to add the same key to another >> project by uploading it? Please make sure you are the owner of the >> deploy key and add >> that to the project via the UI (not uploading it). >> >> On Mon, Mar 17, 2014 at 5:09 PM, Philipp Kraus >> <[email protected]> wrote: >> > Can you explain how? I get an error on set up the twice or multiple >> > times >> > >> > Phil >> > >> > Am Montag, 17. März 2014 08:00:37 UTC+1 schrieb Sytse Sijbrandij: >> >> >> >> You will have to add the same deploy key to all projects, you can use >> >> system hooks and the API to automate this. >> >> >> >> On Sun, Mar 16, 2014 at 2:57 AM, Philipp Kraus >> >> <[email protected]> wrote: >> >> > Yes, but I would like to use _one_ deployment key for Gitlab >> >> > projects, >> >> > so >> >> > the question should be: How can I define a "global systemwide >> >> > deployment >> >> > key >> >> > in Gitlab" >> >> > >> >> > Am Samstag, 15. März 2014 22:11:12 UTC+1 schrieb Sytse Sijbrandij: >> >> >> >> >> >> Have you considered configuring a deploy key for this? >> >> >> >> >> >> On Sat, Mar 15, 2014 at 4:23 PM, Philipp Kraus >> >> >> <[email protected]> wrote: >> >> >> > Hello, >> >> >> > >> >> >> > I'm using Jenkins and Gitlab. I have generated a SSH Key and >> >> >> > update >> >> >> > it >> >> >> > in >> >> >> > Jenkins as a "global" key, so each Jenkins project can use this >> >> >> > key >> >> >> > to >> >> >> > authentificate the slave on Gitlab. >> >> >> > At the moment a private project uses the deployment key, but I >> >> >> > try >> >> >> > to >> >> >> > add >> >> >> > the same key to another private project and Gitlab reports >> >> >> > "Fingerprint >> >> >> > has >> >> >> > already been taken". The two projects are used by different users, >> >> >> > so >> >> >> > I >> >> >> > can >> >> >> > not share the deployment key between the user projects. I don't >> >> >> > find >> >> >> > an >> >> >> > option, so that I can add a "global deployment key" in the admin >> >> >> > interface >> >> >> > to share it for all users. >> >> >> > >> >> >> > How can I define one deployment key in different (private) >> >> >> > projects? >> >> >> > >> >> >> > Thanks >> >> >> > >> >> >> > Phil >> >> >> > >> >> >> > -- >> >> >> > You received this message because you are subscribed to the Google >> >> >> > Groups >> >> >> > "GitLab" group. >> >> >> > To unsubscribe from this group and stop receiving emails from it, >> >> >> > send >> >> >> > an >> >> >> > email to [email protected]. >> >> >> > For more options, visit https://groups.google.com/d/optout. >> >> > >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups >> >> > "GitLab" group. >> >> > To unsubscribe from this group and stop receiving emails from it, >> >> > send >> >> > an >> >> > email to [email protected]. >> >> > For more options, visit https://groups.google.com/d/optout. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "GitLab" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to [email protected]. >> > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
