change to call docker function
This commit is contained in:
parent
a337147f43
commit
768e4862a5
|
@ -93,7 +93,7 @@ def find_artifacts(directory="out"):
|
|||
return join(directory, _)
|
||||
|
||||
|
||||
def get_dockerfile_contents(props):
|
||||
def _get_dockerfile_contents(props):
|
||||
"""
|
||||
Read contents of a Dockerfile and add extra contents for the given os_codename
|
||||
"""
|
||||
|
@ -108,6 +108,11 @@ def get_dockerfile_contents(props):
|
|||
}[util.Interpolate("%(prop:os_codename)s")]
|
||||
|
||||
|
||||
@util.renderer
|
||||
def get_dockerfile_contents(props):
|
||||
return _get_dockerfile_contents(props)
|
||||
|
||||
|
||||
def trigger_child_hooks(buildbotUrl: str, os_codename: str, repository, branch, jobname, directory=".buildbot"):
|
||||
request_url = buildbotUrl + ty
|
||||
|
||||
|
|
Loading…
Reference in New Issue