Xcode CI config: You should be able to specify one ssh key for github.com instead of per repo

Originator:yonix85
Number:rdar://15328452 Date Originated:27-Oct-2013
Status:Open Resolved:
Product:OS X Server Product Version:3 (13S440)
Classification: Reproducible:
 
Summary:
It's really annoying that currently if you have a build that requires building a private github repo with some submodules that are also in github, You have to configure the SSH key for each repo (and submodule) separately, and then have it added to your account in github (or edit them in Server.app separately).

This can take a lot of time, and it's a bit flaky in general (authentication fails for some repositories without any obvious reason).

Steps to Reproduce:
1. Install OS X Server version 3
2. Create a bot of your github.com project with github.com submodules from your Xcode developer station (by going to the Logs Navigator -> Right Click -> Create Bot... -> Use the server)
3. Try to define an ssh key authentication for all your created repos using the Server.app

Expected Results:
I would expect being able to set up my github.com ssh key in one place in the Xcode server configuration, and all github.com repos to automatically authenticate by using it.

Actual Results:
I have to do the same process of setting the ssh key for dozens of repos.

Version:
OS X Server 3 (13S440)

Notes:
A workaround could be setting the key /var/teamsserver/.ssh/config, but this seems to work only in some occasions (sometimes authentication fails for no obvious reason).

Also, it could be much more convenient to be able to define an ssh key when creating the bot in Xcode instead of doing it from the Server.app's config.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!