From 7391b729c65f64ea16b8fa846f527f3d90baeb0c Mon Sep 17 00:00:00 2001
From: googleCloudRunner See a
cr_build()
cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"if (FALSE) { +cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"if (FALSE) { my_repo <- cr_build_source( RepoSource("github_markedmondson1234_googlecloudrunner", diff --git a/docs/reference/Source.html b/docs/reference/Source.html index 065290c1..ea08f13f 100644 --- a/docs/reference/Source.html +++ b/docs/reference/Source.html @@ -220,7 +220,7 @@See a
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"my_gcs_source <- Source(storageSource=StorageSource("my_code.tar.gz", "gs://my-bucket")) my_repo_source <- Source(repoSource=RepoSource("https://my-repo.com", branchName="master")) diff --git a/docs/reference/cr_build.html b/docs/reference/cr_build.html index 79d55262..9e946be6 100644 --- a/docs/reference/cr_build.html +++ b/docs/reference/cr_build.html @@ -250,7 +250,7 @@See a
cr_build_yaml()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"my_gcs_source <- cr_build_source(StorageSource("my_code.tar.gz", +cr_project_set("my-project")#>#> [1] "my-project"my_gcs_source <- cr_build_source(StorageSource("my_code.tar.gz", bucket = "gs://my-bucket")) my_gcs_source#> ==CloudBuildSource== #> ==CloudBuildStorageSource== diff --git a/docs/reference/cr_build_write.html b/docs/reference/cr_build_write.html index bb4d587f..c3fbdcc0 100644 --- a/docs/reference/cr_build_write.html +++ b/docs/reference/cr_build_write.html @@ -211,7 +211,7 @@See a
cr_build()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"# write from creating a Yaml object +cr_project_set("my-project")#>#> [1] "my-project"# write from creating a Yaml object image = "gcr.io/my-project/my-image$BUILD_ID" run_yaml <- cr_build_yaml(steps = c( cr_buildstep("docker", c("build","-t",image,".")), diff --git a/docs/reference/cr_build_yaml.html b/docs/reference/cr_build_yaml.html index 761cec49..8acdbcb7 100644 --- a/docs/reference/cr_build_yaml.html +++ b/docs/reference/cr_build_yaml.html @@ -250,7 +250,7 @@See a
cr_build()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"image <- "gcr.io/my-project/my-image" +cr_project_set("my-project")#>#> [1] "my-project"image <- "gcr.io/my-project/my-image" cr_build_yaml(steps = c( cr_buildstep("docker", c("build","-t",image,".")), cr_buildstep("docker", c("push",image)), diff --git a/docs/reference/cr_build_yaml_artifact.html b/docs/reference/cr_build_yaml_artifact.html index 38a6e55c..f0fa6ae0 100644 --- a/docs/reference/cr_build_yaml_artifact.html +++ b/docs/reference/cr_build_yaml_artifact.html @@ -215,7 +215,7 @@See a
cr_build()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"r <- "write.csv(mtcars,file = 'artifact.csv')" +cr_project_set("my-project")#>#> [1] "my-project"r <- "write.csv(mtcars,file = 'artifact.csv')" cr_build_yaml( steps = cr_buildstep_r(r), artifacts = cr_build_yaml_artifact('artifact.csv', bucket = "my-bucket") diff --git a/docs/reference/cr_buildstep.html b/docs/reference/cr_buildstep.html index c2d71f3d..8745a336 100644 --- a/docs/reference/cr_buildstep.html +++ b/docs/reference/cr_buildstep.html @@ -278,7 +278,7 @@See a
cr_buildstep_slack()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"# creating yaml for use in deploying cloud run +cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"# creating yaml for use in deploying cloud run image = "gcr.io/my-project/my-image:$BUILD_ID" cr_build_yaml( steps = c( diff --git a/docs/reference/cr_buildstep_bash.html b/docs/reference/cr_buildstep_bash.html index 166ca603..e5cb6d6d 100644 --- a/docs/reference/cr_buildstep_bash.html +++ b/docs/reference/cr_buildstep_bash.html @@ -230,7 +230,7 @@See a
cr_buildstep()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"bs <- cr_build_yaml( +cr_project_set("my-project")#>#> [1] "my-project"bs <- cr_build_yaml( steps = cr_buildstep_bash("echo 'Hello'") ) diff --git a/docs/reference/cr_buildstep_decrypt.html b/docs/reference/cr_buildstep_decrypt.html index 7310ed60..7f146961 100644 --- a/docs/reference/cr_buildstep_decrypt.html +++ b/docs/reference/cr_buildstep_decrypt.html @@ -241,7 +241,7 @@See a
cr_buildstep()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"cr_buildstep_decrypt("secret.json.enc", +cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"cr_buildstep_decrypt("secret.json.enc", plain = "secret.json", keyring = "my_keyring", key = "my_key")#> [[1]] diff --git a/docs/reference/cr_buildstep_docker.html b/docs/reference/cr_buildstep_docker.html index cda351d0..99c088ea 100644 --- a/docs/reference/cr_buildstep_docker.html +++ b/docs/reference/cr_buildstep_docker.html @@ -246,7 +246,7 @@See a
cr_buildstep()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"+cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"cr_buildstep_docker("gcr.io/my-project/my-image")#> [[1]] #> ==cloudRunnerBuildStep== #> name: gcr.io/cloud-builders/docker diff --git a/docs/reference/cr_buildstep_git.html b/docs/reference/cr_buildstep_git.html index 063b408a..41fa565e 100644 --- a/docs/reference/cr_buildstep_git.html +++ b/docs/reference/cr_buildstep_git.html @@ -237,7 +237,7 @@See a
cr_buildstep()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"+cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"# assumes you have previously saved git ssh key called "github-ssh" cr_build_yaml( steps = c( diff --git a/docs/reference/cr_buildstep_mailgun.html b/docs/reference/cr_buildstep_mailgun.html index 21b17f1f..85b3fe69 100644 --- a/docs/reference/cr_buildstep_mailgun.html +++ b/docs/reference/cr_buildstep_mailgun.html @@ -246,7 +246,7 @@See a
cr_buildstep()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"mailgun_url <- "https://api.mailgun.net/v3/sandboxXXX.mailgun.org" +cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"mailgun_url <- "https://api.mailgun.net/v3/sandboxXXX.mailgun.org" mailgun_key <- "key-XXXX" if (FALSE) { diff --git a/docs/reference/cr_buildstep_nginx_setup.html b/docs/reference/cr_buildstep_nginx_setup.html index 04f71551..91b08171 100644 --- a/docs/reference/cr_buildstep_nginx_setup.html +++ b/docs/reference/cr_buildstep_nginx_setup.html @@ -215,7 +215,7 @@See a
cr_buildstep()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"cr_region_set("europe-west1")#>#> [1] "europe-west1"+cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"cr_region_set("europe-west1")#>#> [1] "europe-west1"html_folder <- "my_html" run_image <- "gcr.io/my-project/my-image-for-cloudrun" cr_build_yaml( diff --git a/docs/reference/cr_buildstep_pkgdown.html b/docs/reference/cr_buildstep_pkgdown.html index 92baf2be..3710a7de 100644 --- a/docs/reference/cr_buildstep_pkgdown.html +++ b/docs/reference/cr_buildstep_pkgdown.html @@ -249,7 +249,7 @@See a
cr_buildstep()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"+cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"# set github repo directly to write it out via cr_build_write() cr_buildstep_pkgdown("MarkEdmondson1234/googleCloudRunner", git_email = "cloudbuild@google.com", diff --git a/docs/reference/cr_buildstep_r.html b/docs/reference/cr_buildstep_r.html index f5640a27..4f12f01a 100644 --- a/docs/reference/cr_buildstep_r.html +++ b/docs/reference/cr_buildstep_r.html @@ -237,7 +237,7 @@See a
cr_buildstep()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"+cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"#> [[1]] #> ==cloudRunnerBuildStep== diff --git a/docs/reference/cr_buildtrigger.html b/docs/reference/cr_buildtrigger.html index be5df4e0..8b852a55 100644 --- a/docs/reference/cr_buildtrigger.html +++ b/docs/reference/cr_buildtrigger.html @@ -253,7 +253,7 @@See a
cr_buildtrigger_run()
Examples
-cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"cloudbuild <- system.file("cloudbuild/cloudbuild.yaml", +cr_project_set("my-project")#>#> [1] "my-project"cr_bucket_set("my-bucket")#>#> [1] "my-bucket"cloudbuild <- system.file("cloudbuild/cloudbuild.yaml", package = "googleCloudRunner") bb <- cr_build_make(cloudbuild) diff --git a/docs/reference/cr_deploy_packagetests.html b/docs/reference/cr_deploy_packagetests.html index c90f2339..71f0f7a2 100644 --- a/docs/reference/cr_deploy_packagetests.html +++ b/docs/reference/cr_deploy_packagetests.html @@ -266,7 +266,7 @@See a
Examples
# create a local cloudbuild.yml file for packagetests -pd <- cr_deploy_packagetests(create_trigger = "no")#>#>#>#> pd <- cr_deploy_packagetests(create_trigger = "no")+#>#>#>#>#> #>#>#> @@ -301,7 +301,7 @@Examp env = c("NOT_CRAN=true", "MY_AUTH_FILE=auth.json"), timeout = 1200, create_trigger = "no" -)
#>#>#>#>+)#>#>#>#>#> #>#>#> diff --git a/docs/reference/cr_deploy_pkgdown.html b/docs/reference/cr_deploy_pkgdown.html index 4edf5d73..5057734c 100644 --- a/docs/reference/cr_deploy_pkgdown.html +++ b/docs/reference/cr_deploy_pkgdown.html @@ -257,7 +257,7 @@Examp
pd <- cr_deploy_pkgdown("MarkEdmondson1234/googleCloudRunner", secret = "my_git_secret", - create_trigger = "no")#>#>#>#> create_trigger = "no")+#>#>#>#>#> #>#>pd#> ==CloudBuildObject== #> steps: diff --git a/docs/reference/cr_email_set.html b/docs/reference/cr_email_set.html index 27257f01..b2faec66 100644 --- a/docs/reference/cr_email_set.html +++ b/docs/reference/cr_email_set.html @@ -197,7 +197,7 @@See a
https://console.cloud.google.com/cloud-build/settings
Examples
-+cr_email_set("myemail@domain.com")#>#> [1] "myemail@domain.com"cr_email_get()#> [1] "myemail@domain.com"cr_email_set("myemail@domain.com")#>#> [1] "myemail@domain.com"cr_email_get()#> [1] "myemail@domain.com"