Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.15 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.15 KB

Cloudrun-Sandbox

execute user generated code on cloud-run (GKE)

cloudrun code

Run Locally

  • Deploy packages/backend to cloud run
  • yarn start-editor
  • use the endpoint from step 1

Backend

Deploy

make sure gutils are installed

Build the multi-lang-img

  • cd multi-lang-img
  • gcloud builds submit --tag gcr.io/<PROJECT-NAME>/cloud-sandbox/multi-lang-img

Upload Backend Server

  • cd packages/backend/multi-lang-img
  • gcloud builds submit --tag gcr.io/<PROJECT-NAME>/cloud-sandbox-server

Google cloud run

  • use the built link to test your code

Todo

  • introduce stress testing
  • [backend] add helm protection on overuse
  • [backend] improve intra-process communication (currently done with stdout)