cr_buildstep_nginx_setup {googleCloudRunner} | R Documentation |
Setup nginx for Cloud Run in a buildstep
Description
Setup nginx for Cloud Run in a buildstep
Usage
cr_buildstep_nginx_setup(html_folder, ...)
Arguments
html_folder |
The folder that will hold the HTML for Cloud Run This uses a premade bash script that sets up a Docker container ready for Cloud Run running nginx |
... |
Other arguments passed to cr_buildstep_bash |
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_packagetests()
,
cr_buildstep_pkgdown()
,
cr_buildstep_run()
,
cr_buildstep_r()
,
cr_buildstep_secret()
,
cr_buildstep_slack()
,
cr_buildstep_targets()
,
cr_buildstep()
Examples
cr_project_set("my-project")
cr_bucket_set("my-bucket")
cr_region_set("europe-west1")
html_folder <- "my_html"
run_image <- "gcr.io/my-project/my-image-for-cloudrun"
cr_build_yaml(
steps = c(
cr_buildstep_nginx_setup(html_folder),
cr_buildstep_docker(run_image, dir = html_folder),
cr_buildstep_run(
name = "running-nginx",
image = run_image,
concurrency = 80
)
)
)
[Package googleCloudRunner version 0.5.0 Index]