Upload series from local storage to remote bucket
Usage
bucket_upload(
series,
local_path = bucket_local_path(),
remote_url = bucket_remote_url(),
dry_run = FALSE
)Value
This function is called for its side effect, uploading series
files from local storage to a remote bucket storage using the
gcloud storage rsync command. Invisibly returns the
processx::run() result for the underlying gcloud call.
Details
This function shells out to the gcloud CLI, and relies on
it already being installed and authenticated (e.g., via
gcloud auth login). It does not manage credentials itself. Currently
only buckets hosted at https://storage.googleapis.com/... are
supported, as remote_url is translated to a gs://... uri
before being passed to gcloud.