(template, context)
| 1254 | |
| 1255 | @staticmethod |
| 1256 | def _render_config(template, context): |
| 1257 | |
| 1258 | tpl_dir = join(dirname(abspath(__file__)), "templates") |
| 1259 | tpl_path = join(tpl_dir, template) |
| 1260 | |
| 1261 | path, filename = split(tpl_path) |
| 1262 | |
| 1263 | return jinja2.Environment( |
| 1264 | loader=jinja2.FileSystemLoader(path or "./") |
| 1265 | ).get_template(filename).render(context) |
| 1266 | |
| 1267 | def _set_configurations(self): |
| 1268 | """This method will iterate over all process in the pipeline and |
no test coverage detected