Skip to content
Snippets Groups Projects
Commit 6a5a5ea3 authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Filter CI variabbles from logged environs

parent 044d6cd2
No related branches found
No related tags found
2 merge requests!248Bump helpy,!247Filter out CI variabbles from logged environs
Pipeline #115465 passed
...@@ -17,7 +17,10 @@ def configure_fake_time(logger: Logger, env: dict[str, str], time_control: str) ...@@ -17,7 +17,10 @@ def configure_fake_time(logger: Logger, env: dict[str, str], time_control: str)
env["FAKETIME_DONT_FAKE_MONOTONIC"] = "1" env["FAKETIME_DONT_FAKE_MONOTONIC"] = "1"
env["TZ"] = "UTC" env["TZ"] = "UTC"
logger.debug(f"Following environments are set after fake time configuration:\n{dict(env)}") logger.debug(
"Following environments are set after fake time configuration:\n"
+ str(dict(filter(lambda kv: kv[0].startswith("CI_"), env.items())))
)
def get_fake_time_path(logger: Logger) -> Path: def get_fake_time_path(logger: Logger) -> Path:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment