[feature] chartbuilder-use-branchs-to-deploy (#41)

* updated chartbuilder
This commit is contained in:
Alexis Rivera DeLa Torre 2017-04-14 09:35:40 -05:00 committed by Alan Meadows
parent f91a64c58a
commit ef46d4bfe1
1 changed files with 4 additions and 1 deletions

View File

@ -64,7 +64,10 @@ class ChartBuilder(object):
self.chart.source.subpath,
self.chart.release_name)
pygit2.clone_repository(self.chart.source.location, tmpdir)
pygit2.clone_repository(self.chart.source.location, tmpdir,
checkout_branch=self.chart.
source.reference)
return os.path.join(tmpdir, self.chart.source.subpath)
else: