Skip to content
Snippets Groups Projects
Commit 17ca61a5 authored by Emanuele Aina's avatar Emanuele Aina Committed by Vignesh Raman
Browse files

fetch-downstream: Log when the cached data is used


Ensure a log message is printed when loading the cache to give a clearer
context when debugging issues.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 590380d4
No related branches found
No related tags found
1 merge request!107Fetch cached data from GitLab itself
Pipeline #377233 failed
......@@ -399,6 +399,7 @@ if __name__ == "__main__":
logging.basicConfig(level=args.loglevel or logging.INFO)
if args.cache:
logging.info(f"Loading cacheable data from {args.cache.name}")
yaml_import = yaml.safe_load(args.cache)
try:
cache = yaml_import["packages"]
......
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