endpoints.trigger: reminder to rm keys from config

This commit is contained in:
Jimmy Zelinskie 2015-03-19 12:05:49 -04:00
parent 46d7fce8d2
commit e4ebfc95bb

View file

@ -520,6 +520,7 @@ class GitHubBuildTrigger(BuildTrigger):
raise TriggerActivationException(msg)
# Generate an SSH keypair and add the public key to the repository.
# TODO(jzelinskie): don't put this in the config! it's not secure!
config['public_key'], config['private_key'] = generate_ssh_keypair()
try:
deploy_key = gh_repo.create_key('Quay.io Builder', config['public_key'])