Skip to content

Commit 809ec50

Browse files
chore: Migrate gsutil usage to gcloud storage
1 parent 0e1d698 commit 809ec50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cloudbuild.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# the License.
1414

1515
steps:
16-
- name: 'gcr.io/cloud-builders/gsutil'
17-
args: ['-q', '-m', 'rsync', '-r', '${_GCS_CACHE_PATH}', '/m2_cache']
16+
- name: 'gcr.io/cloud-builders/gcloud'
17+
args: ['storage', 'rsync', '--recursive', '${_GCS_CACHE_PATH}', '/m2_cache']
1818
volumes:
1919
- path: '/m2_cache'
2020
name: 'm2_cache'
@@ -27,8 +27,8 @@ steps:
2727
volumes:
2828
- path: '/m2_cache'
2929
name: 'm2_cache'
30-
- name: 'gcr.io/cloud-builders/gsutil'
31-
args: ['-q', '-m', 'rsync', '-r', '/m2_cache', '${_GCS_CACHE_PATH}']
30+
- name: 'gcr.io/cloud-builders/gcloud'
31+
args: ['storage', 'rsync', '--recursive', '/m2_cache', '${_GCS_CACHE_PATH}']
3232
volumes:
3333
- path: '/m2_cache'
3434
name: 'm2_cache'

0 commit comments

Comments
 (0)