From ce9a751088e9aad687336b946540d50533d5b607 Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Fri, 1 Sep 2017 10:04:10 +0100 Subject: Write cache-key to results file every time This is useful for rpm generation, to determine the path rpms are deployed to programmatically. --- ybd/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ybd/__main__.py b/ybd/__main__.py index 88c12a0..7014280 100755 --- a/ybd/__main__.py +++ b/ybd/__main__.py @@ -92,8 +92,8 @@ with timer('TOTAL'): target.get('kind') == 'cluster'): log('ARCH', 'No definitions for', config['arch'], exit=True) + write_cache_key() if config.get('mode', 'normal') == 'keys-only': - write_cache_key() os._exit(0) cache.cull(config['artifacts']) -- cgit v1.2.1