buildman: add git_key buildconfig parameter

This commit is contained in:
Jimmy Zelinskie 2015-03-16 13:18:18 -04:00
parent 4c8814866c
commit b35f6ed25c

View file

@ -107,7 +107,8 @@ class BuildComponent(BaseComponent):
# Parse the build queue item into build arguments.
# build_package: URL to the build package to download and untar/unzip.
# git_url: URL to clone a repository (builder will create and upload the buildpack).
# git_url: URL to clone a repository if there's no buildpack.
# git_key: ssh key to clone a repository.
# sub_directory: The location within the build package of the Dockerfile and the build context.
# repository: The repository for which this build is occurring.
# registry: The registry for which this build is occuring (e.g. 'quay.io', 'staging.quay.io').
@ -122,6 +123,7 @@ class BuildComponent(BaseComponent):
build_arguments = {
'build_package': buildpack_url,
'git_url': build_config.get('git_url', ''),
'git_key': build_config.get('git_key', ''),
'sub_directory': build_config.get('build_subdir', ''),
'repository': repository_name,
'registry': self.registry_hostname,