R/buildstep_targets.R
cr_buildstep_targets.Rd
This is a buildstep to help upload a targets pipeline, see cr_build_targets for examples and suggested workflow
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)
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)
The R script that will run in the tar_make()
step. Modify to include custom settings
An existing Docker image that will be used to run your targets workflow after the targets meta has been downloaded from Google Cloud Storage
The id of the buildstep. In linkcr_buildstep_targets_multi this is used along with waitFor
to determine the order of execution
The Google Cloud Storage bucket and folder the target metadata will be saved to, e.g. gs://my-bucket/my_target_project
You can also pass in build substitution variables such as "${_MY_BUCKET}"
.
The final buildstep that needs to complete before the upload. If left NULL then will default to the last tar_target step.
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()