[feature] chartbuilder-use-branchs-to-deploy (#41)
* updated chartbuilder
This commit is contained in:
parent
f91a64c58a
commit
ef46d4bfe1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue