Пример #1
0
 def _get_snapshot(self, name):
     snapshot_url = os.path.join(SNAPSHOTS, name)
     self.logger.info('Retrieving snapshot: {0}'.format(snapshot_url))
     tmp_file = os.path.join(self.workdir, name)
     return utils.download_file(snapshot_url, tmp_file)
 def _get_snapshot(self, name):
     snapshot_url = os.path.join(SNAPSHOTS, name)
     self.logger.info('Retrieving snapshot: {0}'.format(snapshot_url))
     tmp_file = os.path.join(self.workdir, name)
     return utils.download_file(snapshot_url, tmp_file)
 def _get_plugin_wagon(self, name):
     aws_url = 'http://cloudify-tests-files.s3-eu-west-1.amazonaws.com/'
     wagon_url = join(aws_url, 'plugins', name)
     self.logger.info('Retrieving wagon: {0}'.format(wagon_url))
     tmp_file = join(self.workdir, name)
     return utils.download_file(wagon_url, tmp_file)
Пример #4
0
 def _get_plugin_wagon(self, name):
     aws_url = 'http://cloudify-tests-files.s3-eu-west-1.amazonaws.com/'
     wagon_url = join(aws_url, 'plugins', name)
     self.logger.info('Retrieving wagon: {0}'.format(wagon_url))
     tmp_file = join(self.workdir, name)
     return utils.download_file(wagon_url, tmp_file)