Commit 7f93bd3
Switch deploy target to GCP Cloud Run gen2
AWS Lambda cannot run shimmy's nsjail sandbox: locked seccomp profile,
no CAP_SYS_ADMIN, no privileged mode, so SANDBOX_ENABLED=true makes the
worker fail to start (verified on staging -- every request 500s with a
broken-pipe from the dead worker). Cloud Run gen2 gives full-Linux
compatibility, so nsjail can create the user namespace it needs.
Set build-platforms: "gcp" for both staging and production. The shared
gcp_deploy.yml deploys with --execution-environment gen2 (its new
default).
Follow-ups before this is live: merge + push the workflows-repo change;
set S3_BUCKET_URI and AWS_* on the Cloud Run service (no execution role
to inject them); repoint the platform at the *.run.app URL; re-probe
nsjail on the deployed gen2 service.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RYbUtnGroazAj1fNjXQmV71 parent bd2e8c8 commit 7f93bd3
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
0 commit comments