fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2024-06-15 14:48:24 -07:00
parent fbf5613626
commit 46befdc600

View File

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