gcloud_create_cran_bucket.Rd
Create a CRAN style google bucket with appropriate ACL
gcloud_create_cran_bucket(
folder,
bioc_version,
secret,
public = TRUE,
bucket = "bioconductor-packages"
)
character(1) version number for Bioconductor, defaults to `BiocManager::version()`.
character(1) path to the location of the secret key for the service account.
logical(1) if the bucket should be publicly accessible. Defauly is TRUE, if FALSE the bucket is made private.
character(1) bucket name for the google storage bucket.
`gcloud_create_cran_bucket()` returns a character vector of the path of the workspace bucket.
Create a CRAN style bucket used to store the package binaries built for a specific docker image. The CRAN style bucket takes is created using the following format, "bucket_name/production_version/bioc_version/src/contrib". All buckets created with this function come with Uniform Bucket-Level Access and are made public. To create a private bucket, toggle the `public` argument to FALSE. The bucket once made public is available at the URL provided by google, `https://storage.googleapis.com/`.
An example location for a package would be, https://storage.googleapis.com/bioconductor_docker/packages/3.11/bioc/src/contrib/ABAData_1.19.0_R_x86_64-pc-linux-gnu.tar.gz
if (FALSE) {
gcloud_create_cran_bucket(
bucket = "bioconductor_docker",
bioc_version = "3.11",
secret = "/home/mysecret.json",
public = TRUE
)
}