diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 72f8a50e..9d422f90 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -8,7 +8,7 @@ articles: git: git.html setup: setup.html usecases: usecases.html -last_built: 2020-04-30T19:34Z +last_built: 2020-04-30T19:40Z 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 24e680f5..c7977bd0 100644 --- a/docs/reference/RepoSource.html +++ b/docs/reference/RepoSource.html @@ -230,7 +230,7 @@
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 d7828192..fec16e17 100644 --- a/docs/reference/Source.html +++ b/docs/reference/Source.html @@ -207,7 +207,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 4a14503e..0f49d797 100644 --- a/docs/reference/cr_build.html +++ b/docs/reference/cr_build.html @@ -237,7 +237,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 85d6ad6d..fd029d23 100644 --- a/docs/reference/cr_build_write.html +++ b/docs/reference/cr_build_write.html @@ -198,7 +198,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 03e245ab..d29e25a7 100644 --- a/docs/reference/cr_build_yaml.html +++ b/docs/reference/cr_build_yaml.html @@ -237,7 +237,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 8dac3a03..d67e551b 100644 --- a/docs/reference/cr_build_yaml_artifact.html +++ b/docs/reference/cr_build_yaml_artifact.html @@ -202,7 +202,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 b30e58a0..a2f3434b 100644 --- a/docs/reference/cr_buildstep.html +++ b/docs/reference/cr_buildstep.html @@ -264,7 +264,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( @@ -302,7 +302,7 @@Examp args = c("beta","run","deploy", "test1","--image", image)) ), - images = image)
#>#> ==cloudRunnerYaml== + images = image)#>#> ==cloudRunnerYaml== #> steps: #> - name: gcr.io/cloud-builders/docker #> args: diff --git a/docs/reference/cr_buildstep_bash.html b/docs/reference/cr_buildstep_bash.html index 07d97c32..87a8c991 100644 --- a/docs/reference/cr_buildstep_bash.html +++ b/docs/reference/cr_buildstep_bash.html @@ -216,7 +216,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 6db7cfc9..ab9d676f 100644 --- a/docs/reference/cr_buildstep_decrypt.html +++ b/docs/reference/cr_buildstep_decrypt.html @@ -227,7 +227,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 f4ebb094..bbb8d548 100644 --- a/docs/reference/cr_buildstep_docker.html +++ b/docs/reference/cr_buildstep_docker.html @@ -223,8 +223,8 @@See a
cr_buildstep()
Examples
-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]] +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 #> args: @@ -241,7 +241,7 @@Examp #> args: #> - push #> - gcr.io/my-project/my-image:$BUILD_ID -#>
cr_buildstep_docker("my-image")#>#> [[1]] +#>cr_buildstep_docker("my-image")#>#> [[1]] #> ==cloudRunnerBuildStep== #> name: gcr.io/cloud-builders/docker #> args: @@ -258,7 +258,7 @@Examp #> args: #> - push #> - gcr.io/my-project/my-image:$BUILD_ID -#>
cr_buildstep_docker("my-image", tag = "$BRANCH_NAME")#>#> [[1]] +#>cr_buildstep_docker("my-image", tag = "$BRANCH_NAME")#>#> [[1]] #> ==cloudRunnerBuildStep== #> name: gcr.io/cloud-builders/docker #> args: diff --git a/docs/reference/cr_buildstep_git.html b/docs/reference/cr_buildstep_git.html index e48051fe..5059826f 100644 --- a/docs/reference/cr_buildstep_git.html +++ b/docs/reference/cr_buildstep_git.html @@ -220,7 +220,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 36abb128..f3c3cc02 100644 --- a/docs/reference/cr_buildstep_mailgun.html +++ b/docs/reference/cr_buildstep_mailgun.html @@ -232,7 +232,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 6c86f75e..928bb7e6 100644 --- a/docs/reference/cr_buildstep_nginx_setup.html +++ b/docs/reference/cr_buildstep_nginx_setup.html @@ -201,7 +201,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( @@ -212,7 +212,7 @@Examp image = run_image, concurrency = 80) ) - )
#>#> ==cloudRunnerYaml== + )#>#> ==cloudRunnerYaml== #> steps: #> - name: ubuntu #> args: diff --git a/docs/reference/cr_buildstep_pkgdown.html b/docs/reference/cr_buildstep_pkgdown.html index ddee2b6e..eeb1fca9 100644 --- a/docs/reference/cr_buildstep_pkgdown.html +++ b/docs/reference/cr_buildstep_pkgdown.html @@ -235,7 +235,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 92761d61..158f51cb 100644 --- a/docs/reference/cr_buildstep_r.html +++ b/docs/reference/cr_buildstep_r.html @@ -223,7 +223,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 cfc0a79c..24d9809c 100644 --- a/docs/reference/cr_buildtrigger.html +++ b/docs/reference/cr_buildtrigger.html @@ -237,7 +237,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) github <- GitHubEventsConfig("MarkEdmondson1234/googleCloudRunner", diff --git a/docs/reference/cr_deploy_packagetests.html b/docs/reference/cr_deploy_packagetests.html index e2549459..2bb94118 100644 --- a/docs/reference/cr_deploy_packagetests.html +++ b/docs/reference/cr_deploy_packagetests.html @@ -233,7 +233,7 @@See a
Examples
-pd <- cr_deploy_packagetests()#>#>#>#> pd <- cr_deploy_packagetests()+#>#>#>#>#> #>#>#> @@ -267,7 +267,7 @@Examp steps = cr_buildstep_secret("my_secret", "auth.json"), env = c("NOT_CRAN=true", "MY_AUTH_FILE=auth.json"), timeout = 1200 -)
#>#>#>#>+)#>#>#>#>#> #> #> diff --git a/docs/reference/cr_deploy_pkgdown.html b/docs/reference/cr_deploy_pkgdown.html index 250e8a86..fad7a1ab 100644 --- a/docs/reference/cr_deploy_pkgdown.html +++ b/docs/reference/cr_deploy_pkgdown.html @@ -237,7 +237,7 @@