This commit is contained in:
parent
fbf5613626
commit
46befdc600
@ -159,12 +159,6 @@ def main(ctx):
|
|||||||
for (coder_template, context) in TEMPLATES[jinja_template].items():
|
for (coder_template, context) in TEMPLATES[jinja_template].items():
|
||||||
context = {k: v for (k, v) in context.items()}
|
context = {k: v for (k, v) in context.items()}
|
||||||
|
|
||||||
target_clusters = [{"name": DEFAULT_CLUSTER_NAME, "config_path": ""}]
|
|
||||||
if "target_clusters" in context:
|
|
||||||
for cluster_name in context["target_clusters"]:
|
|
||||||
target_clusters.append({"name": cluster_name, "config_path": CLUSTERS[cluster_name]})
|
|
||||||
context["target_clusters"] = target_clusters
|
|
||||||
|
|
||||||
pipeline["steps"].extend([
|
pipeline["steps"].extend([
|
||||||
{
|
{
|
||||||
"name": "generate {coder_template}".format(coder_template = coder_template),
|
"name": "generate {coder_template}".format(coder_template = coder_template),
|
||||||
|
|||||||
Reference in New Issue
Block a user