cr_buildstep_targets {googleCloudRunner} | R Documentation |
Buildstep to run a targets pipeline on Cloud Build
Description
This is a buildstep to help upload a targets pipeline, see cr_build_targets for examples and suggested workflow
Usage
cr_buildstep_targets(
task_args = NULL,
tar_make = "targets::tar_make()",
task_image = "gcr.io/gcer-public/targets",
id = "target pipeline"
)
cr_buildstep_targets_setup(bucket_folder)
cr_buildstep_targets_teardown(bucket_folder, last_id = NULL)
Arguments
task_args |
If not NULL, a named list of additional arguments to send to cr_buildstep_r when its executing the tar_make command (such as environment arguments or waitFor ids) |
tar_make |
The R script that will run in the |
task_image |
An existing Docker image that will be used to run your targets workflow after the targets meta has been downloaded from Google Cloud Storage |
id |
The id of the buildstep. In linkcr_buildstep_targets_multi this is used along with |
bucket_folder |
The Google Cloud Storage bucket and folder the target metadata will be saved to, e.g. |
last_id |
The final buildstep that needs to complete before the upload. If left NULL then will default to the last tar_target step. |
See Also
Other Cloud Buildsteps:
cr_buildstep_bash()
,
cr_buildstep_decrypt()
,
cr_buildstep_df()
,
cr_buildstep_docker()
,
cr_buildstep_edit()
,
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()