From 7391b729c65f64ea16b8fa846f527f3d90baeb0c Mon Sep 17 00:00:00 2001 From: googleCloudRunner Date: Thu, 10 Sep 2020 20:20:55 +0000 Subject: [PATCH] [skip travis] Build website from commit c361b55d75834ebebd2a6199435ef475c62a6bc9: 20200910T20:20:55 --- docs/pkgdown.yml | 2 +- docs/reference/RepoSource.html | 2 +- docs/reference/Source.html | 2 +- docs/reference/cr_build.html | 2 +- docs/reference/cr_build_write.html | 2 +- docs/reference/cr_build_yaml.html | 2 +- docs/reference/cr_build_yaml_artifact.html | 2 +- docs/reference/cr_buildstep.html | 2 +- docs/reference/cr_buildstep_bash.html | 2 +- docs/reference/cr_buildstep_decrypt.html | 2 +- docs/reference/cr_buildstep_docker.html | 2 +- docs/reference/cr_buildstep_git.html | 2 +- docs/reference/cr_buildstep_mailgun.html | 2 +- docs/reference/cr_buildstep_nginx_setup.html | 2 +- docs/reference/cr_buildstep_pkgdown.html | 2 +- docs/reference/cr_buildstep_r.html | 2 +- docs/reference/cr_buildtrigger.html | 2 +- docs/reference/cr_deploy_packagetests.html | 4 ++-- docs/reference/cr_deploy_pkgdown.html | 2 +- docs/reference/cr_email_set.html | 2 +- docs/reference/googleCloudRunner.html | 8 +++++--- 21 files changed, 26 insertions(+), 24 deletions(-) diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 2eb91bc1..c04e6607 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -9,7 +9,7 @@ articles: setup-gcp: setup-gcp.html setup: setup.html usecases: usecases.html -last_built: 2020-09-10T11:03Z +last_built: 2020-09-10T20:20Z urls: reference: https://code.markedmondson.me/googleCloudRunner/reference article: https://code.markedmondson.me/googleCloudRunner/articles diff --git a/docs/reference/RepoSource.html b/docs/reference/RepoSource.html index f2bb0010..4b14aeeb 100644 --- a/docs/reference/RepoSource.html +++ b/docs/reference/RepoSource.html @@ -243,7 +243,7 @@

See a cr_build()

Examples

-
cr_project_set("my-project")
#> ℹ 2020-09-10 11:03:36 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:36 > Bucket set to my-bucket
#> [1] "my-bucket"
if (FALSE) { +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:32 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:32 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:36 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:36 > Bucket set to my-bucket
#> [1] "my-bucket"
my_gcs_source <- Source(storageSource=StorageSource("my_code.tar.gz", +cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:32 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:32 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:37 > ProjectId set to my-project
#> [1] "my-project"
my_gcs_source <- cr_build_source(StorageSource("my_code.tar.gz", +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:33 > ProjectId set to 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")
#> ℹ 2020-09-10 11:03:38 > ProjectId set to my-project
#> [1] "my-project"
# write from creating a Yaml object +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:34 > ProjectId set to 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")
#> ℹ 2020-09-10 11:03:38 > ProjectId set to my-project
#> [1] "my-project"
image <- "gcr.io/my-project/my-image" +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:34 > ProjectId set to 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")
#> ℹ 2020-09-10 11:03:38 > ProjectId set to my-project
#> [1] "my-project"
r <- "write.csv(mtcars,file = 'artifact.csv')" +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:34 > ProjectId set to 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")
#> ℹ 2020-09-10 11:03:38 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:38 > Bucket set to my-bucket
#> [1] "my-bucket"
# creating yaml for use in deploying cloud run +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:34 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:34 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:38 > ProjectId set to my-project
#> [1] "my-project"
bs <- cr_build_yaml( +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:34 > ProjectId set to 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")
#> ℹ 2020-09-10 11:03:39 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:39 > Bucket set to my-bucket
#> [1] "my-bucket"
cr_buildstep_decrypt("secret.json.enc", +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:34 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:34 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:39 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:39 > Bucket set to my-bucket
#> [1] "my-bucket"
+
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:35 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:35 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:39 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:39 > Bucket set to my-bucket
#> [1] "my-bucket"
+
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:35 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:35 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:40 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:40 > Bucket set to my-bucket
#> [1] "my-bucket"
mailgun_url <- "https://api.mailgun.net/v3/sandboxXXX.mailgun.org" +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:35 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:35 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:40 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:40 > Bucket set to my-bucket
#> [1] "my-bucket"
cr_region_set("europe-west1")
#> ℹ 2020-09-10 11:03:40 > Region set to europe-west1
#> [1] "europe-west1"
+
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:35 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:35 > Bucket set to my-bucket
#> [1] "my-bucket"
cr_region_set("europe-west1")
#> ℹ 2020-09-10 20:20:35 > Region set to 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")
#> ℹ 2020-09-10 11:03:40 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:40 > Bucket set to my-bucket
#> [1] "my-bucket"
+
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:36 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:36 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:40 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:40 > Bucket set to my-bucket
#> [1] "my-bucket"
+
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:36 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:36 > Bucket set to my-bucket
#> [1] "my-bucket"
# create an R buildstep inline cr_buildstep_r(c("paste('1+1=', 1+1)", "sessionInfo()"))
#> [[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")
#> ℹ 2020-09-10 11:03:41 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 11:03:41 > Bucket set to my-bucket
#> [1] "my-bucket"
cloudbuild <- system.file("cloudbuild/cloudbuild.yaml", +
cr_project_set("my-project")
#> ℹ 2020-09-10 20:20:37 > ProjectId set to my-project
#> [1] "my-project"
cr_bucket_set("my-bucket")
#> ℹ 2020-09-10 20:20:37 > Bucket set to 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")
#> ℹ 2020-09-10 11:03:42 > Writing to cloudbuild-tests.yml
#>
#> ℹ Complete deployment of tests Cloud Build yaml:
#> ● Go to https://console.cloud.google.com/cloud-build/triggers and +pd <- cr_deploy_packagetests(create_trigger = "no")
#> ℹ 2020-09-10 20:20:38 > Writing to cloudbuild-tests.yml
#>
#> ℹ Complete deployment of tests Cloud Build yaml:
#> ● Go to https://console.cloud.google.com/cloud-build/triggers and #> make a build trigger pointing at this file in your repo: #> cloudbuild-tests.yml
#> ℹ Build Trigger substitution variable settings: #> _CODECOV_TOKEN = your-codecov-token @@ -301,7 +301,7 @@

Examp env = c("NOT_CRAN=true", "MY_AUTH_FILE=auth.json"), timeout = 1200, create_trigger = "no" -)

#> ℹ 2020-09-10 11:03:42 > Writing to cloudbuild-tests.yml
#>
#> ℹ Complete deployment of tests Cloud Build yaml:
#> ● Go to https://console.cloud.google.com/cloud-build/triggers and +)
#> ℹ 2020-09-10 20:20:38 > Writing to cloudbuild-tests.yml
#>
#> ℹ Complete deployment of tests Cloud Build yaml:
#> ● Go to https://console.cloud.google.com/cloud-build/triggers and #> make a build trigger pointing at this file in your repo: #> cloudbuild-tests.yml
#> ℹ Build Trigger substitution variable settings: #> _CODECOV_TOKEN = your-codecov-token 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")
#> ℹ 2020-09-10 11:03:42 > Writing to cloudbuild-pkgdown.yml
#>
#> ℹ Complete deployment of pkgdown Cloud Build yaml:
#> ● Go to https://console.cloud.google.com/cloud-build/triggers and + create_trigger = "no")
#> ℹ 2020-09-10 20:20:38 > Writing to cloudbuild-pkgdown.yml
#>
#> ℹ Complete deployment of pkgdown Cloud Build yaml:
#> ● Go to https://console.cloud.google.com/cloud-build/triggers and #> make a build trigger pointing at this file in your repo: #> cloudbuild-pkgdown.yml
#> ℹ Ignored files filter (glob): docs/**, inst/**, tests/**
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")
#> ℹ 2020-09-10 11:03:43 > cloudbuildEmail set to myemail@domain.com
#> [1] "myemail@domain.com"
cr_email_get()
#> [1] "myemail@domain.com"
+
cr_email_set("myemail@domain.com")
#> ℹ 2020-09-10 20:20:39 > cloudbuildEmail set to myemail@domain.com
#> [1] "myemail@domain.com"
cr_email_get()
#> [1] "myemail@domain.com"