Example #1
0
 def _run(self):
   common.cmd(['aws',
               '--profile=' + self.profile,
               's3',
               'sync',
               self.bucket,
               self.local_dir])
Example #2
0
 def _run(self):
   common.cmd(['mkdir', '-p', self.local_dir])
   common.cmd(['aws',
               '--profile=' + config.aws_profile(),
               's3',
               'sync',
               self.bucket,
               self.local_dir])
Example #3
0
  def run(self):
    common.cmd([self.aws,
                '--profile=' + config.aws_profile(),
                's3', 'sync',
                self.bucket,
                self.local_dir])

    with open(self.flag_file(), 'w') as out_f:
      out_f.write('')
Example #4
0
  def run(self):
    common.cmd(['aws',
                '--cli-read-timeout=3600',
		'--profile=' + config.aws_profile(),
                's3', 'sync',
                self.bucket,
                self.local_dir])

    with open(self.flag_file(), 'w') as out_f:
      out_f.write('')
Example #5
0
 def _run(self):
     common.cmd(['mkdir', '-p', self.local_dir])
     common.cmd([
         'aws', '--profile=' + config.aws_profile(), 's3', 'sync',
         self.bucket, self.local_dir
     ])
Example #6
0
 def _run(self):
     common.cmd(['mkdir', '-p', CF_ACCESS_LOGS_DIR])
     common.cmd([
         'aws', '--profile=' + config.aws_profile(), 's3', 'sync',
         CF_ACCESS_LOGS_BUCKET, CF_ACCESS_LOGS_DIR
     ])
Example #7
0
    def run(self):
        common.cmd(["aws", "--profile=" + config.aws_profile(), "s3", "sync", self.bucket, self.local_dir])

        with open(self.flag_file(), "w") as out_f:
            out_f.write("")
Example #8
0
 def run(self):
   common.cmd([self.aws,
               '--profile=' + config.aws_profile(),
               's3', 'sync',
               self.bucket,
               self.local_dir])
Example #9
0
 def _run(self):
     common.cmd(['mkdir', '-p', SEROLOGY_TEST_SYNC_DIR])
     common.cmd([
         'aws', '--profile=' + config.aws_profile(), 's3', 'sync',
         SEROLOGY_TEST_BUCKET, SEROLOGY_TEST_SYNC_DIR
     ])