endpoints.trigger: reminder to rm keys from config
This commit is contained in:
parent
46d7fce8d2
commit
e4ebfc95bb
1 changed files with 1 additions and 0 deletions
|
@ -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'])
|
||||
|
|
Reference in a new issue