🎥 Make videos programmatically with React
test cloud run
Jonny Burger73aa2d8c5b7f
diff --git a/packages/cloudrun/container/submit.mjs b/packages/cloudrun/container/submit.mjsindex 8bc781a160..a59e35a6de 100644--- a/packages/cloudrun/container/submit.mjs+++ b/packages/cloudrun/container/submit.mjs@@ -6,7 +6,7 @@ if (!['development', 'production'].includes(process.env.ARTIFACT_REGISTRY_ENV)) {throw new Error(- `ARTIFACT_REGISTRY_ENV is ${process.env.ARTIFACT_REGISTRY_ENV}, but it should be either 'development' or 'production'`+ `ARTIFACT_REGISTRY_ENV is ${process.env.ARTIFACT_REGISTRY_ENV}, but it should be either 'development' or 'production'`,);}diff --git a/packages/cloudrun/src/api/helpers/construct-service-deploy-request.ts b/packages/cloudrun/src/api/helpers/construct-service-deploy-request.tsindex e09201a0be..3be7042971 100644--- a/packages/cloudrun/src/api/helpers/construct-service-deploy-request.ts+++ b/packages/cloudrun/src/api/helpers/construct-service-deploy-request.ts@@ -30,7 +30,9 @@ export const constructServiceTemplate = ({},containers: [{- image: `us-docker.pkg.dev/remotion-dev/production/render:${VERSION}`,+ image: `us-docker.pkg.dev/remotion-dev/${+ process.env.ARTIFACT_REGISTRY_ENV ?? 'production'+ }/render:${VERSION}`,resources: {limits: {memory: memoryLimit,diff --git a/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar b/packages/cloudrun/src/gcpInstaller/gcpInstaller.tarindex e5c091f185..c35e414c82 100644Binary files a/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar and b/packages/cloudrun/src/gcpInstaller/gcpInstaller.tar differdiff --git a/packages/example/testcloudrun.sh b/packages/example/testcloudrun.shindex 71695811dc..2886d86801 100644--- a/packages/example/testcloudrun.sh+++ b/packages/example/testcloudrun.sh@@ -12,5 +12,5 @@ cd ..cd examplepnpm exec remotion cloudrun services rmall -fpnpm exec remotion cloudrun sites create --site-name=testbed-pnpm exec remotion cloudrun services deploy --cpuLimit=4.0+ARTIFACT_REGISTRY_ENV=development pnpm exec remotion cloudrun services deploy --cpuLimit=4.0pnpm exec remotion cloudrun render testbed react-svg --log=verbose