cr_buildstep_edit | R Documentation |
Useful for editing existing buildsteps
cr_buildstep_edit(x, ...)
x |
A buildstep created previously |
... |
Arguments passed on to
|
Other Cloud Buildsteps:
cr_buildstep_bash()
,
cr_buildstep_decrypt()
,
cr_buildstep_df()
,
cr_buildstep_docker()
,
cr_buildstep_extract()
,
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()
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) edit_me <- cr_buildstep_extract(build, step = 2) cr_buildstep_edit(edit_me, name = "blah") cr_buildstep_edit(edit_me, name = "gcr.io/blah") cr_buildstep_edit(edit_me, args = c("blah1", "blah2"), dir = "meh") # to edit multiple buildsteps at once bs <- c(cr_buildstep_extract(build, 1), cr_buildstep_extract(build, 2)) lapply(bs, function(x) cr_buildstep_edit(list(x), dir = "blah")[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.