Add manifest file to service archive

Change-Id: I6e81fdc95e7da2cb2b7278f7175d284b4516af70
This commit is contained in:
Ekaterina Fedorova 2013-12-12 15:47:16 +04:00 committed by Gerrit Code Review
parent 539ae591da
commit 7cebac579f
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,9 @@ class Archiver(object):
log.info(
'{0} manifest has no file definitions for '
'{1}'.format(manifest.service_display_name, data_type))
#Add manifest file into archive
manifest_filename = manifest.full_service_name + '-manifest.yaml'
self._copy_data([manifest_filename], CONF.manifests, temp_dir)
return self._compose_archive(file_name, temp_dir)
def remove_existing_hash(self, cache_dir, hash):