| cr_buildstep_extract {googleCloudRunner} | R Documentation |
Extract a buildstep from a Build object
Description
Useful if you have a step from an existing cloudbuild.yaml you want in another
Usage
cr_buildstep_extract(x, step = NULL)
Arguments
x |
A Build object |
step |
The numeric step number to extract |
See Also
Other Cloud Buildsteps:
cr_buildstep_bash(),
cr_buildstep_decrypt(),
cr_buildstep_df(),
cr_buildstep_docker(),
cr_buildstep_edit(),
cr_buildstep_gcloud(),
cr_buildstep_gitsetup(),
cr_buildstep_mailgun(),
cr_buildstep_nginx_setup(),
cr_buildstep_packagetests(),
cr_buildstep_pkgdown(),
cr_buildstep_run(),
cr_buildstep_r(),
cr_buildstep_secret(),
cr_buildstep_slack(),
cr_buildstep_targets(),
cr_buildstep()
Examples
package_build <- system.file("cloudbuild/cloudbuild.yaml",
package = "googleCloudRunner"
)
build <- cr_build_make(package_build)
build
cr_buildstep_extract(build, step = 1)
cr_buildstep_extract(build, step = 2)
[Package googleCloudRunner version 0.5.0 Index]