change to call docker function

This commit is contained in:
Muzahid 2022-02-11 17:20:23 +05:30
parent a337147f43
commit 768e4862a5
Signed by: cis-muzahid
GPG Key ID: 1DC85E7D3AB613EA
1 changed files with 6 additions and 1 deletions

View File

@ -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