inst/docker/targets/cloudbuild.R

# script to generate cloudbuild.yaml and build the Docker
library(googleCloudRunner)

repo <- cr_buildtrigger_repo("MarkEdmondson1234/googleCloudRunner", branch = "master")

# creates gcr.io/gcer-public/targets docker image with renv and targets
cr_deploy_docker_trigger(
  repo = repo,
  image = "targets",
  projectId_target = "gcer-public",
  dir = "inst/docker/targets/"
)

Try the googleCloudRunner package in your browser

Any scripts or data that you put into this service are public.

googleCloudRunner documentation built on March 18, 2022, 8 p.m.