# NOT RUN {
cr_project_set("my-project")
cr_bucket_set("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"))
# }
# NOT RUN {
build1 <- cr_build("cloudbuild.yaml", source = my_gcs_source)
build2 <- cr_build("cloudbuild.yaml", source = my_repo_source)
# }
Run the code above in your browser using DataLab