This enables an optimised version of gcloud docker for your buildstep such as gcr.io/google.com/cloudsdktool/cloud-sdk:alpine

cr_buildstep_gcloud(component = c("gcloud", "bq", "gsutil", "kubectl"), ...)

cr_buildstep_gsutil(...)

cr_buildstep_bq(...)

cr_buildstep_kubectl(...)

Arguments

component

What gcloud service you need, such as "gcloud", "bq" or "gsutil"

...

Arguments passed on to cr_buildstep

name

name of docker image to call appended to prefix

args

character vector of arguments

prefix

prefixed to name - set to "" to suppress. Will be suppressed if name starts with gcr.io or *-docker.pkg.dev

entrypoint

change the entrypoint for the docker container

dir

The directory to use, relative to /workspace e.g. /workspace/deploy/

id

Optional id for the step

env

Environment variables for this step. A character vector for each assignment

volumes

volumes to connect and write to

waitFor

Whether to wait for previous buildsteps to complete before running. Default it will wait for previous step.

secretEnv

A list of secrets stored in Secret Manager referred to in args via a $$var