powered by
This creates a Build object via the standard cloudbuild.yaml format
cr_build_make( yaml, source = NULL, timeout = NULL, images = NULL, artifacts = NULL, options = NULL, substitutions = NULL, availableSecrets = NULL, serviceAccount = NULL, logsBucket = NULL )
A Yaml object created from cr_build_yaml or a file location of a .yaml/.yml cloud build file
Yaml
A Source object specifying the location of the source files to build, usually created by cr_build_source
Amount of time that this build should be allowed to run, to second
A list of images to be pushed upon the successful completion of all build
Artifacts that may be built via cr_build_yaml_artifact
Options to pass to a Cloud Build
Substitutions data for `Build` resource
Secret Manager objects built by cr_build_yaml_secrets
service account email to be used for the build
The gs:// location of a bucket to put logs in
https://cloud.google.com/build/docs/build-config-file-schema
Other Cloud Build functions: Build(), RepoSource(), Source(), StorageSource(), cr_build_artifacts(), cr_build_list(), cr_build_logs(), cr_build_status(), cr_build_targets(), cr_build_upload_gcs(), cr_build_wait(), cr_build_write(), cr_build_yaml_artifact(), cr_build_yaml_secrets(), cr_build_yaml(), cr_build()
Build()
RepoSource()
Source()
StorageSource()
cr_build_artifacts()
cr_build_list()
cr_build_logs()
cr_build_status()
cr_build_targets()
cr_build_upload_gcs()
cr_build_wait()
cr_build_write()
cr_build_yaml_artifact()
cr_build_yaml_secrets()
cr_build_yaml()
cr_build()
# NOT RUN { cloudbuild <- system.file("cloudbuild/cloudbuild.yaml", package = "googleCloudRunner" ) cr_build_make(cloudbuild) # }
Run the code above in your browser using DataLab