Skip to content

Commit 7c51315

Browse files
chore: Migrate gsutil usage to gcloud storage (#113)
* chore: Migrate gsutil usage to gcloud storage * chore: update * Update benchmark_utils.py
1 parent 736b536 commit 7c51315

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Ironwood/src/benchmark_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ def upload_to_storage(trace_dir: str, local_file: str):
804804
if trace_dir.startswith("gs://"): # Google Cloud Storage (GCS)
805805
try:
806806
subprocess.run(
807-
["gsutil", "cp", "-r", local_file, trace_dir],
807+
["gcloud", "storage", "cp", "--recursive", local_file, trace_dir],
808808
check=True,
809809
capture_output=True,
810810
)

src/benchmark_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def upload_to_storage(trace_dir: str, local_file: str):
243243
if trace_dir.startswith("gs://"): # Google Cloud Storage (GCS)
244244
try:
245245
subprocess.run(
246-
["gsutil", "cp", "-r", local_file, trace_dir],
246+
["gcloud", "storage", "cp", "--recursive", local_file, trace_dir],
247247
check=True,
248248
capture_output=True,
249249
)

0 commit comments

Comments
 (0)