diff --git a/task/gcs-download/0.1/gcs-download.yaml b/task/gcs-download/0.1/gcs-download.yaml index 30648ba352..d76f4909dd 100644 --- a/task/gcs-download/0.1/gcs-download.yaml +++ b/task/gcs-download/0.1/gcs-download.yaml @@ -55,7 +55,7 @@ spec: if [[ "$(params.typeDir)" == "true" ]]; then mkdir -p "$DESTINATION" - gsutil rsync -d -r "$(params.location)" "$DESTINATION" + gsutil -m rsync -d -r "$(params.location)" "$DESTINATION" else gsutil cp $(params.location) "$DESTINATION" fi diff --git a/task/gcs-upload/0.1/gcs-upload.yaml b/task/gcs-upload/0.1/gcs-upload.yaml index de3b6e4805..255ec7626b 100644 --- a/task/gcs-upload/0.1/gcs-upload.yaml +++ b/task/gcs-upload/0.1/gcs-upload.yaml @@ -50,7 +50,7 @@ spec: fi if [[ -d "$SOURCE" ]]; then - gsutil rsync -d -r "$SOURCE" "$(params.location)" + gsutil -m rsync -d -r "$SOURCE" "$(params.location)" else gsutil cp "$SOURCE" "$(params.location)" fi