Package: googleCloudRunner 0.5.0.9000

Mark Edmondson

googleCloudRunner: R Scripts in the Google Cloud via Cloud Run, Cloud Build and Cloud Scheduler

Tools to easily enable R scripts in the Google Cloud Platform. Utilise cloud services such as Cloud Run <https://cloud.google.com/run/> for R over HTTP, Cloud Build <https://cloud.google.com/build> for Continuous Delivery and Integration services and Cloud Scheduler <https://cloud.google.com/scheduler/> for scheduled scripts.

Authors:Mark Edmondson [aut, cre], Sunholo Ltd [cph]

googleCloudRunner_0.5.0.9000.tar.gz
googleCloudRunner_0.5.0.9000.zip(r-4.5)googleCloudRunner_0.5.0.9000.zip(r-4.4)googleCloudRunner_0.5.0.9000.zip(r-4.3)
googleCloudRunner_0.5.0.9000.tgz(r-4.4-any)googleCloudRunner_0.5.0.9000.tgz(r-4.3-any)
googleCloudRunner_0.5.0.9000.tar.gz(r-4.5-noble)googleCloudRunner_0.5.0.9000.tar.gz(r-4.4-noble)
googleCloudRunner_0.5.0.9000.tgz(r-4.4-emscripten)googleCloudRunner_0.5.0.9000.tgz(r-4.3-emscripten)
googleCloudRunner.pdf |googleCloudRunner.html
googleCloudRunner/json (API)
NEWS

# Install 'googleCloudRunner' in R:
install.packages('googleCloudRunner', repos = c('https://markedmondson1234.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/markedmondson1234/googlecloudrunner/issues

Datasets:

On CRAN:

cloudbuilddockerfilegoogleauthrgooglecomputeenginer

6.34 score 81 stars 107 scripts 255 downloads 119 exports 53 dependencies

Last updated 2 years agofrom:0a977af9ac. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winWARNINGNov 01 2024
R-4.5-linuxWARNINGNov 01 2024
R-4.4-winWARNINGNov 01 2024
R-4.4-macWARNINGNov 01 2024
R-4.3-winWARNINGNov 01 2024
R-4.3-macWARNINGNov 01 2024

Exports:BuildBuildTriggercr_bucket_getcr_bucket_setcr_buildcr_build_artifactscr_build_listcr_build_list_filtercr_build_logscr_build_logs_badgercr_build_makecr_build_schedule_httpcr_build_sourcecr_build_statuscr_build_targetscr_build_targets_artifactscr_build_upload_gcscr_build_waitcr_build_writecr_build_yamlcr_build_yaml_artifactcr_build_yaml_secretscr_buildstepcr_buildstep_bashcr_buildstep_bqcr_buildstep_compute_containercr_buildstep_compute_rstudiocr_buildstep_decryptcr_buildstep_dfcr_buildstep_dockercr_buildstep_docker_authcr_buildstep_editcr_buildstep_extractcr_buildstep_gcloudcr_buildstep_gitcr_buildstep_gitsetupcr_buildstep_gsutilcr_buildstep_kubectlcr_buildstep_mailguncr_buildstep_nginx_setupcr_buildstep_packagetestscr_buildstep_pkgdowncr_buildstep_rcr_buildstep_runcr_buildstep_secretcr_buildstep_slackcr_buildstep_source_movecr_buildstep_targetscr_buildstep_targets_multicr_buildstep_targets_setupcr_buildstep_targets_singlecr_buildstep_targets_teardowncr_buildtriggercr_buildtrigger_copycr_buildtrigger_deletecr_buildtrigger_editcr_buildtrigger_getcr_buildtrigger_listcr_buildtrigger_logscr_buildtrigger_pubsubcr_buildtrigger_repocr_buildtrigger_runcr_buildtrigger_webhookcr_deploy_badgercr_deploy_dockercr_deploy_docker_constructcr_deploy_docker_triggercr_deploy_gadgetcr_deploy_htmlcr_deploy_packagetestscr_deploy_pkgdowncr_deploy_plumbercr_deploy_rcr_deploy_runcr_deploy_run_websitecr_email_getcr_email_setcr_jwt_asynccr_jwt_createcr_jwt_tokencr_jwt_with_curlcr_jwt_with_httrcr_plumber_pubsubcr_project_getcr_project_setcr_pubsubcr_region_getcr_region_setcr_runcr_run_emailcr_run_getcr_run_listcr_run_schedule_httpcr_schedulecr_schedule_buildcr_schedule_deletecr_schedule_getcr_schedule_httpcr_schedule_listcr_schedule_pausecr_schedule_pubsubcr_schedule_resumecr_schedule_runcr_setupcr_setup_authcr_setup_role_lookupcr_setup_servicecr_setup_testcr_sourcerepo_listgit_volumeGitHubEventsConfigHttpTargetJobPubsubConfigPubsubTargetRepoSourceSourceStorageSourceWebhookConfig

Dependencies:askpassassertthatcachemclicliprcrayoncredentialscurldescdigestellipsisfastmapfsgarglegertghgitcredsgluegoogleAuthRgoogleCloudStorageRgooglePubsubRhttpuvhttrhttr2inijosejsonlitelaterlifecyclemagrittrmemoisemimeopensslplumberpromisespurrrR6rappdirsRcpprlangrprojrootrstudioapisodiumstringiswaggersysusethisvctrswebutilswhiskerwithryamlzip

Readme and manuals

Help Manual

Help pageTopics
Build ObjectBuild
BuildTrigger ObjectBuildTrigger
Get/Set the Cloud Storage bucket for your Cloud Build Servicecr_bucket_get cr_bucket_set
Starts a build with the specified configuration.cr_build
Download artifacts from a buildcr_build_artifacts
Lists the buildcr_build_list cr_build_list_filter
Download logs from a Cloud Buildcr_buildtrigger_logs cr_build_logs
Make a Cloud Build object out of a cloudbuild.yml filecr_build_make
Create a Cloud Scheduler HTTP target from a Cloud Build objectcr_build_schedule_http cr_schedule cr_schedule_http cr_schedule_pubsub
Build a source objectcr_build_source cr_build_source.gar_RepoSource cr_build_source.gar_StorageSource
Returns information about a previously requested build.cr_build_status
Set up Google Cloud Build to run a targets pipelinecr_buildstep_targets_multi cr_buildstep_targets_single cr_build_targets cr_build_targets_artifacts
Create a StorageSourcecr_buildstep_source_move cr_build_upload_gcs
Wait for a Build to runcr_build_wait
Write out a Build object to cloudbuild.yamlcr_build_write
Create a cloudbuild Yaml object in Rcr_build_yaml
Add an artifact for cloudbuild.yamlcr_build_yaml_artifact
Create an availableSecrets entry for build yamlcr_build_yaml_secrets
Create a yaml build stepcr_buildstep
Run a bash script in a Cloud Build stepcr_buildstep_bash
Buildstep to deploy to Google Compute Enginecr_buildstep_compute_container cr_buildstep_compute_rstudio
Create a build step for decrypting files via KMScr_buildstep_decrypt
Convert a data.frame into cr_buildstepcr_buildstep_df
Create a build step to build and push a docker imagecr_buildstep_docker
Authorize Docker using 'gcloud auth configure-docker'cr_buildstep_docker_auth
Modify an existing buildstep with new parameterscr_buildstep_edit
Extract a buildstep from a Build objectcr_buildstep_extract
A buildstep template for gcloudcr_buildstep_bq cr_buildstep_gcloud cr_buildstep_gsutil cr_buildstep_kubectl
Create a build step for authenticating with Gitcr_buildstep_git cr_buildstep_gitsetup git_volume
Send an email in a Cloud Build step via MailGun.orgcr_buildstep_mailgun
Setup nginx for Cloud Run in a buildstepcr_buildstep_nginx_setup
Do R package tests and upload to Codecovcr_buildstep_packagetests
Create buildsteps for deploying an R pkgdown website to GitHubcr_buildstep_pkgdown
Run an R script in a Cloud Build R stepcr_buildstep_r
Create buildsteps to deploy to Cloud Runcr_buildstep_run
Create a buildstep for using Secret Managercr_buildstep_secret
Send a Slack message to a channel from a Cloud Build stepcr_buildstep_slack
Buildstep to run a targets pipeline on Cloud Buildcr_buildstep_targets cr_buildstep_targets_setup cr_buildstep_targets_teardown
Create a new BuildTriggercr_buildtrigger
Copy a buildtriggercr_buildtrigger_copy
Deletes a `BuildTrigger` by its project ID and trigger ID.This API is experimental.cr_buildtrigger_delete
Updates a `BuildTrigger` by its project ID and trigger ID.This API is experimental.cr_buildtrigger_edit
Returns information about a `BuildTrigger`.This API is experimental.cr_buildtrigger_get
Lists existing `BuildTrigger`s.This API is experimental.cr_buildtrigger_list
Create a buildtrigger pub/sub objectcr_buildtrigger_pubsub
Create a buildtrigger repo objectcr_buildtrigger_repo
Runs a `BuildTrigger` at a particular source revision.cr_buildtrigger_run
Create a buildtrigger webhook objectcr_buildtrigger_webhook
Deploy a Cloud Run app to display build badgescr_build_logs_badger cr_deploy_badger
Deploy a local Dockerfile to be built on ContainerRegistrycr_deploy_docker cr_deploy_docker_construct
Deploy Docker build from a Git repocr_deploy_docker_trigger
Launch the googleCloudRunner deployment RStudio gadgetcr_deploy_gadget
Deploy a cloudbuild.yml for R package tests and upload to Codecovcr_deploy_packagetests
Deploy a cloudbuild.yml for a pkgdown website of an R packagecr_deploy_pkgdown
Deploy an R script with an optional schedulecr_deploy_r
Deploy to Cloud Runcr_deploy_html cr_deploy_plumber cr_deploy_run
Deploy HTML built from a repo each commitcr_deploy_run_website
Get/Set cloud build emailcr_email_get cr_email_set
Create a JSON Web Token (JWT) from your service client and call Google servicescr_jwt_async cr_jwt_create cr_jwt_token cr_jwt_with_curl cr_jwt_with_httr
Plumber - Pub/Sub parsercr_plumber_pubsub
Get/Set the projectId for your CloudRun servicescr_project_get cr_project_set
Send a message to pubsubcr_pubsub
Get/Set the endpoint for your CloudRun servicescr_region_get cr_region_set
Cloud Run Regionscr_regions
Create a CloudRun service.cr_run
Create an invoker email for use within authenticated Cloud Runcr_run_email
Get information about a Cloud Run service.cr_run_get
List CloudRun services.cr_run_list
Create a Cloud Scheduler HTTP target for a private Cloud Run URIcr_run_schedule_http
Schedule a Build object via HTTP or PubSubcr_schedule_build
Deletes a scheduled job.cr_schedule_delete
Gets a scheduler job.cr_schedule_get
Lists Cloud Scheduler jobs.cr_schedule_list
Pauses and resumes a scheduled job.cr_schedule_pause cr_schedule_resume
Forces a job to run now.cr_schedule_run
A helper setup function for setting up use with googleCloudRunnercr_setup
Create a service account for googleCloudRunnercr_setup_auth
Give a service account the right permissions for googleCloudRunner operationscr_setup_role_lookup cr_setup_service
Run tests over your setupcr_setup_test
List source repositories available under a projectcr_sourcerepo_list
GitHubEventsConfig ObjectGitHubEventsConfig
Launch R scripts into the Google Cloud via Cloud Build, Cloud Run and Cloud SchedulergoogleCloudRunner
HttpTarget ObjectHttpTarget
Job Schedule ObjectJob
Pubsub Config (Build Trigger)PubsubConfig
Pubsub Target Object (Cloud Scheduler)PubsubTarget
RepoSource ObjectRepoSource
Source ObjectSource
StorageSource ObjectStorageSource
WebhookConfig (Build Triggers)WebhookConfig