summaryrefslogtreecommitdiffstats
path: root/dovetail
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2019-04-10 05:27:26 -0400
committerxudan <xudan16@huawei.com>2019-04-26 04:04:17 -0400
commit8b646e9d3cf696db803c937fe014b8a06c68842d (patch)
tree60c0ea23063a3dc5a52fbfb81d668b68a7ef5ec3 /dovetail
parent73febf900b85dae4d953389696f3a78cf8267816 (diff)
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 <xudan16@huawei.com>
Diffstat (limited to 'dovetail')
-rw-r--r--dovetail/report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/report.py b/dovetail/report.py
index 06ef415..09cfdce 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()