From 768e4862a5b2a784d2ffa5a6370e5ce46b7c73e1 Mon Sep 17 00:00:00 2001 From: Muzahid Date: Fri, 11 Feb 2022 17:20:23 +0530 Subject: [PATCH] change to call docker function --- multibuild.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/multibuild.py b/multibuild.py index 7442686..1a9b7cb 100644 --- a/multibuild.py +++ b/multibuild.py @@ -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