inputs
Some checks failed
/ alpine (push) Successful in 44s
/ debian (push) Failing after 1m5s
/ ubuntu (push) Failing after 1m2s
/ arch (push) Successful in 1m43s
/ opensuse (push) Successful in 2m30s
/ fedora (push) Successful in 12m30s
/ alma (push) Failing after 1m36s
/ rocky (push) Failing after 14m58s

This commit is contained in:
Marc Beninca 2024-10-21 17:25:39 +02:00
parent a0c36dba7c
commit ef00f4aa97
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -25,13 +25,13 @@ def parse_inputs() -> dict[str, object]:
:return: name & value pairs :return: name & value pairs
:rtype: dict[str, object] :rtype: dict[str, object]
""" """
d = {} inputs = {}
for variable, value in sorted(projects.environment.items()): for variable, value in sorted(projects.environment.items()):
if variable.startswith(PREFIX): if variable.startswith(PREFIX):
log.info(variable)
name = variable.removeprefix(PREFIX).lower() name = variable.removeprefix(PREFIX).lower()
log.info(name) inputs[name] = literal_eval(value)
d[name] = literal_eval(value) return inputs
return d
def synchronize(source: str | None = None, target: str | None = None) -> None: def synchronize(source: str | None = None, target: str | None = None) -> None: