Home
last modified time | relevance | path

Searched refs:gsutil_path (Results 1 – 7 of 7) sorted by relevance

/test/framework/harnesses/host_controller/utils/gcp/
Dgcs_utils.py41 def IsGcsFile(gsutil_path, url): argument
51 check_command = "%s stat %s" % (gsutil_path, url)
56 def Copy(gsutil_path, src_urls, dst_url): argument
67 copy_command = "%s cp %s %s" % (gsutil_path, src_urls, dst_url)
72 def List(gsutil_path, url): argument
82 ls_command = "%s ls %s" % (gsutil_path, url)
87 def Remove(gsutil_path, url, recursive=False): argument
102 gsutil_path, ("r" if recursive else ""), url)
/test/framework/harnesses/host_controller/build/
Dbuild_provider_gcs.py75 gsutil_path = gcs_utils.GetGsutilPath()
76 if gsutil_path:
80 if not gcs_utils.IsGcsFile(gsutil_path, path):
84 lines_gsutil_ls = gcs_utils.List(gsutil_path, gsutil_ls_path)
88 copy_command = "%s cp %s %s" % (gsutil_path, path,
98 copy_command = "%s cp -r %s/* %s" % (gsutil_path, path,
102 copy_command = "%s cp %s %s" % (gsutil_path, path,
/test/framework/harnesses/host_controller/command_processor/
Dcommand_reproduce.py81 gsutil_path = gcs_utils.GetGsutilPath()
82 if not gsutil_path:
89 or not gcs_utils.IsGcsFile(gsutil_path, args.report_path)):
95 gcs_utils.Copy(gsutil_path, args.report_path, dest_path)
115 if not self.GetResultFromGCS(gsutil_path, report_msg, args.suite):
261 def GetResultFromGCS(self, gsutil_path, report_msg, suite): argument
284 result_path_list = gcs_utils.List(gsutil_path, result_base_path)
292 gsutil_path, result_zip_url, local_results_path)):
Dcommand_upload.py93 gsutil_path = gcs_utils.GetGsutilPath()
94 if not gsutil_path:
137 if not gcs_utils.Remove(gsutil_path, dest_path, recursive=True):
140 if not gcs_utils.Copy(gsutil_path, src_paths, dest_path):
169 gsutil_path, report_path, dest_path, results_base_path,
175 def UploadReport(self, gsutil_path, report_path, log_path, results_path, argument
342 gsutil_path, report_file_path,
Dcommand_sheet.py237 gsutil_path = gcs_utils.GetGsutilPath()
238 if not gsutil_path:
241 if gcs_utils.IsGcsFile(gsutil_path, gcs_url):
244 ls_urls = gcs_utils.List(gsutil_path, gcs_url)
259 if not gcs_utils.Copy(gsutil_path, gcs_urls[0], local_dir):
Dcommand_retry.py81 gsutil_path = gcs_utils.GetGsutilPath()
82 if not gsutil_path:
87 or not gcs_utils.IsGcsFile(gsutil_path, gcs_result_path)):
97 if not gcs_utils.Copy(gsutil_path, gcs_result_path, local_results_dir):
Dcommand_sheet_test.py304 def MockCopy(gsutil_path, gcs_url, local_dir): argument