From 8b646e9d3cf696db803c937fe014b8a06c68842d Mon Sep 17 00:00:00 2001 From: xudan Date: Wed, 10 Apr 2019 05:27:26 -0400 Subject: Change HEAT package from .tag.gz to be .zip As Trevor Lovett suggests, the Heat file is a zip file. So users need to package it different only for Dovetail testing. It will be better to change it to be .zip to keep it the same as what they do. JIRA: DOVETAIL-770 Change-Id: I5338720c5e1363081e1f8cdce33391a969f1cd97 Signed-off-by: xudan --- dovetail/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dovetail/report.py') diff --git a/dovetail/report.py b/dovetail/report.py index 06ef4159..09cfdcea 100644 --- a/dovetail/report.py +++ b/dovetail/report.py @@ -79,7 +79,7 @@ class Report(object): elif vnf_type == 'heat': path = os.path.join( dt_cfg.dovetail_config['config_dir'], - os.getenv('VNF_ARCHIVE_NAME') + '.tar.gz') + '{}.zip'.format(os.getenv('VNF_ARCHIVE_NAME'))) checksum = hashlib.sha256() -- cgit 1.2.3-korg