This commit is contained in:
2024-04-24 14:29:06 +02:00
parent 3f9e6144a5
commit 64e638535a
3 changed files with 5 additions and 248 deletions

View File

@@ -133,10 +133,11 @@ def append_stage(to, key, val, files):
"""Append a value in {to}[{key}], create the array if not existing. if the key-file is found in the files add a custom suffix"""
if not key in to:
to[key] = []
if "{basename}.yaml".format(basename=val) in files:
to[key].append("{stage}-custom".format(stage=val))
else:
to[key].append(val)
# Not possible right now
#if "{basename}.yaml".format(basename=val) in files:
# to[key].append("{stage}-custom".format(stage=val))
#else:
to[key].append(val)
def set_js_stages(stages, config, files, root_dir):