├── .cloudshellcustomimagerepo.json ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── assets └── cloud-run-button.png ├── cloudbuild-redirector.yaml ├── cloudbuild.yaml ├── cmd ├── cloudshell_open │ ├── api.go │ ├── appfile.go │ ├── appfile_test.go │ ├── artifactregistry.go │ ├── billing.go │ ├── clone.go │ ├── clone_test.go │ ├── cloudrun.go │ ├── cloudrun_test.go │ ├── deploy.go │ ├── docker.go │ ├── jib.go │ ├── main.go │ ├── main_test.go │ ├── pack.go │ ├── project.go │ └── scripts.go ├── instrumentless │ └── instrumentless.go ├── instrumentless_test │ └── main.go └── redirector │ ├── Dockerfile │ ├── extractors.go │ ├── github.go │ ├── github_test.go │ ├── gitlab.go │ ├── gitlab_test.go │ ├── go.mod │ ├── go.sum │ ├── main.go │ ├── main_test.go │ ├── referer.go │ └── referer_test.go ├── go.mod ├── go.sum ├── hack ├── setup-build-triggers.sh └── trigger-baseimage.json ├── integration.cloudbuild.yaml ├── renovate.json └── tests ├── README.md ├── buildpacks-builder ├── README.md ├── app.json └── index.php ├── empty-appjson ├── Dockerfile ├── README.md └── app.json ├── envvars-generated ├── Dockerfile ├── README.md └── app.json ├── hooks-prepostcreate-external ├── Dockerfile ├── README.md ├── app.json ├── postcreate.sh └── precreate.sh ├── hooks-prepostcreate-inline ├── Dockerfile ├── README.md └── app.json ├── options-http2 ├── Dockerfile ├── README.md ├── app.json ├── h2o.conf └── index.html ├── options-require-auth ├── Dockerfile ├── README.md └── app.json ├── options ├── Dockerfile ├── README.md └── app.json ├── requirements.txt └── run_integration_test.py /.cloudshellcustomimagerepo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/.cloudshellcustomimagerepo.json -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/README.md -------------------------------------------------------------------------------- /assets/cloud-run-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/assets/cloud-run-button.png -------------------------------------------------------------------------------- /cloudbuild-redirector.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cloudbuild-redirector.yaml -------------------------------------------------------------------------------- /cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cloudbuild.yaml -------------------------------------------------------------------------------- /cmd/cloudshell_open/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/api.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/appfile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/appfile.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/appfile_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/appfile_test.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/artifactregistry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/artifactregistry.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/billing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/billing.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/clone.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/clone.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/clone_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/clone_test.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/cloudrun.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/cloudrun.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/cloudrun_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/cloudrun_test.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/deploy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/deploy.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/docker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/docker.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/jib.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/jib.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/main.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/main_test.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/pack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/pack.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/project.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/project.go -------------------------------------------------------------------------------- /cmd/cloudshell_open/scripts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/cloudshell_open/scripts.go -------------------------------------------------------------------------------- /cmd/instrumentless/instrumentless.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/instrumentless/instrumentless.go -------------------------------------------------------------------------------- /cmd/instrumentless_test/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/instrumentless_test/main.go -------------------------------------------------------------------------------- /cmd/redirector/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/Dockerfile -------------------------------------------------------------------------------- /cmd/redirector/extractors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/extractors.go -------------------------------------------------------------------------------- /cmd/redirector/github.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/github.go -------------------------------------------------------------------------------- /cmd/redirector/github_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/github_test.go -------------------------------------------------------------------------------- /cmd/redirector/gitlab.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/gitlab.go -------------------------------------------------------------------------------- /cmd/redirector/gitlab_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/gitlab_test.go -------------------------------------------------------------------------------- /cmd/redirector/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/go.mod -------------------------------------------------------------------------------- /cmd/redirector/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/go.sum -------------------------------------------------------------------------------- /cmd/redirector/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/main.go -------------------------------------------------------------------------------- /cmd/redirector/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/main_test.go -------------------------------------------------------------------------------- /cmd/redirector/referer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/referer.go -------------------------------------------------------------------------------- /cmd/redirector/referer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/cmd/redirector/referer_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/go.sum -------------------------------------------------------------------------------- /hack/setup-build-triggers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/hack/setup-build-triggers.sh -------------------------------------------------------------------------------- /hack/trigger-baseimage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/hack/trigger-baseimage.json -------------------------------------------------------------------------------- /integration.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/integration.cloudbuild.yaml -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/renovate.json -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/buildpacks-builder/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/buildpacks-builder/README.md -------------------------------------------------------------------------------- /tests/buildpacks-builder/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/buildpacks-builder/app.json -------------------------------------------------------------------------------- /tests/buildpacks-builder/index.php: -------------------------------------------------------------------------------- 1 | hello, world 2 | -------------------------------------------------------------------------------- /tests/empty-appjson/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/empty-appjson/Dockerfile -------------------------------------------------------------------------------- /tests/empty-appjson/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/empty-appjson/README.md -------------------------------------------------------------------------------- /tests/empty-appjson/app.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/envvars-generated/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/envvars-generated/Dockerfile -------------------------------------------------------------------------------- /tests/envvars-generated/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/envvars-generated/README.md -------------------------------------------------------------------------------- /tests/envvars-generated/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/envvars-generated/app.json -------------------------------------------------------------------------------- /tests/hooks-prepostcreate-external/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/hooks-prepostcreate-external/Dockerfile -------------------------------------------------------------------------------- /tests/hooks-prepostcreate-external/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/hooks-prepostcreate-external/README.md -------------------------------------------------------------------------------- /tests/hooks-prepostcreate-external/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/hooks-prepostcreate-external/app.json -------------------------------------------------------------------------------- /tests/hooks-prepostcreate-external/postcreate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/hooks-prepostcreate-external/postcreate.sh -------------------------------------------------------------------------------- /tests/hooks-prepostcreate-external/precreate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/hooks-prepostcreate-external/precreate.sh -------------------------------------------------------------------------------- /tests/hooks-prepostcreate-inline/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/hooks-prepostcreate-inline/Dockerfile -------------------------------------------------------------------------------- /tests/hooks-prepostcreate-inline/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/hooks-prepostcreate-inline/README.md -------------------------------------------------------------------------------- /tests/hooks-prepostcreate-inline/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/hooks-prepostcreate-inline/app.json -------------------------------------------------------------------------------- /tests/options-http2/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options-http2/Dockerfile -------------------------------------------------------------------------------- /tests/options-http2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options-http2/README.md -------------------------------------------------------------------------------- /tests/options-http2/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options-http2/app.json -------------------------------------------------------------------------------- /tests/options-http2/h2o.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options-http2/h2o.conf -------------------------------------------------------------------------------- /tests/options-http2/index.html: -------------------------------------------------------------------------------- 1 | hello, world 2 | -------------------------------------------------------------------------------- /tests/options-require-auth/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options-require-auth/Dockerfile -------------------------------------------------------------------------------- /tests/options-require-auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options-require-auth/README.md -------------------------------------------------------------------------------- /tests/options-require-auth/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options-require-auth/app.json -------------------------------------------------------------------------------- /tests/options/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options/Dockerfile -------------------------------------------------------------------------------- /tests/options/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options/README.md -------------------------------------------------------------------------------- /tests/options/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/options/app.json -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | google-api-python-client 3 | click -------------------------------------------------------------------------------- /tests/run_integration_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/cloud-run-button/HEAD/tests/run_integration_test.py --------------------------------------------------------------------------------