pipeline: targets-compositor: whole target can be enabled: no to quickly disable it (as if it wasn't there)

This commit is contained in:
Ricardo Pardini
2023-05-02 14:59:32 +02:00
committed by igorpecovnik
parent 46cd0a2cfc
commit 0aac5a4945

View File

@@ -59,6 +59,10 @@ invocations_dict: list[dict] = []
for target_name in targets["targets"]:
target_obj = targets["targets"][target_name]
if "enabled" in target_obj and not target_obj["enabled"]:
log.warning(f"Skipping disabled target '{target_name}'...")
continue
all_items = []
all_expansions = []