From 4a961401fc3755ca122c754406fdb95cd8e8178a Mon Sep 17 00:00:00 2001 From: Yusef Napora Date: Mon, 22 Jun 2020 16:51:53 -0400 Subject: [PATCH] set default builder & runner from manifest --- composer/app/composition.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/composer/app/composition.py b/composer/app/composition.py index 2c41fc5a0..02d8468dd 100644 --- a/composer/app/composition.py +++ b/composer/app/composition.py @@ -128,6 +128,13 @@ class Global(Base): if len(cases) != 0: self.case = cases[0] + if 'defaults' in manifest: + print('manifest defaults', manifest['defaults']) + if self.builder == '': + self.builder = manifest['defaults'].get('builder', '') + if self.runner == '': + self.runner = manifest['defaults'].get('runner', '') + class Resources(Base): memory = param.String(allow_None=True)