execute user generated code on cloud-run (GKE)
- Deploy
packages/backend
to cloud run yarn start-editor
- use the endpoint from step 1
make sure gutils are installed
cd multi-lang-img
gcloud builds submit --tag gcr.io/<PROJECT-NAME>/cloud-sandbox/multi-lang-img
cd packages/backend/multi-lang-img
gcloud builds submit --tag gcr.io/<PROJECT-NAME>/cloud-sandbox-server
- open console
- select the uploaded image and complete the wizard
- grab the url from the dashboard (e.g. https://cloudrun-sandbox-something-something.a.run.app)
- open your browser to
<URL>/ping
and get apong
- use the built link to test your code
- introduce stress testing
- [backend] add helm protection on overuse
- [backend] improve intra-process communication (currently done with stdout)