@remotion/cloudrun 4.0.217 → 4.0.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @remotion/cloudrun@4.0.216 make /Users/jonathanburger/remotion/packages/cloudrun
2
+ > @remotion/cloudrun@4.0.217 make /Users/jonathanburger/remotion/packages/cloudrun
3
3
  > bun build.ts
4
4
 
5
5
  distribution bundled.
@@ -0,0 +1,23 @@
1
+
2
+ > @remotion/cloudrun@4.0.217 test /Users/jonathanburger/remotion/packages/cloudrun
3
+ > bun test src
4
+
5
+ bun test v1.1.29 (6d43b366)
6
+ 
7
+ src/api/test/service-names.test.ts:
8
+ ✓ Parse service names [0.52ms]
9
+ 
10
+ src/api/test/running-in-what-server.test.ts:
11
+ ✓ is running in cloud tasks = true
12
+ ✓ is running in cloud tasks = false
13
+ ✓ which project Id = remotion-test
14
+ ✓ which project Id = remotion-test-cloudtask [0.01ms]
15
+ 
16
+ src/api/test/make-console.test.ts:
17
+ ✓ app is in cloud tasks
18
+ ✓ app is not in cloud tasks [0.01ms]
19
+
20
+  7 pass
21
+  0 fail
22
+ 11 expect() calls
23
+ Ran 7 tests across 3 files. [48.00ms]
@@ -42,7 +42,6 @@ const deployServiceRaw = async ({ performImageVersionValidation = true, memoryLi
42
42
  const request = {
43
43
  parent,
44
44
  service: {
45
- // service structure: https://googleapis.dev/nodejs/run/latest/google.cloud.run.v2.IService.html
46
45
  template: (0, construct_service_deploy_request_1.constructServiceTemplate)({
47
46
  memoryLimit,
48
47
  cpuLimit,
@@ -1,32 +1,8 @@
1
- declare enum ExecutionEnvironment {
2
- EXECUTION_ENVIRONMENT_UNSPECIFIED = 0,
3
- EXECUTION_ENVIRONMENT_GEN1 = 1,
4
- EXECUTION_ENVIRONMENT_GEN2 = 2
5
- }
1
+ import type { google } from '@google-cloud/run/build/protos/protos';
6
2
  export declare const constructServiceTemplate: ({ memoryLimit, cpuLimit, timeoutSeconds, minInstances, maxInstances, }: {
7
3
  memoryLimit: string;
8
4
  cpuLimit: string;
9
5
  timeoutSeconds: number;
10
6
  minInstances: number;
11
7
  maxInstances: number;
12
- }) => {
13
- scaling: {
14
- minInstanceCount: number;
15
- maxInstanceCount: number;
16
- };
17
- timeout: {
18
- seconds: number;
19
- };
20
- containers: {
21
- image: string;
22
- resources: {
23
- limits: {
24
- memory: string;
25
- cpu: string;
26
- };
27
- };
28
- }[];
29
- maxInstanceRequestConcurrency: number;
30
- executionEnvironment: ExecutionEnvironment;
31
- };
32
- export {};
8
+ }) => google.cloud.run.v2.IRevisionTemplate;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
4
4
  },
5
5
  "name": "@remotion/cloudrun",
6
- "version": "4.0.217",
6
+ "version": "4.0.219",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -16,14 +16,14 @@
16
16
  "@google-cloud/logging": "^11.1.0",
17
17
  "google-auth-library": "^8.7.0",
18
18
  "zod": "3.22.3",
19
- "@remotion/renderer": "4.0.217",
20
- "remotion": "4.0.217",
21
- "@remotion/bundler": "4.0.217",
22
- "@remotion/cli": "4.0.217"
19
+ "@remotion/bundler": "4.0.219",
20
+ "@remotion/cli": "4.0.219",
21
+ "@remotion/renderer": "4.0.219",
22
+ "remotion": "4.0.219"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/minimist": "1.2.2",
26
- "@remotion/compositor-linux-x64-gnu": "4.0.217"
26
+ "@remotion/compositor-linux-x64-gnu": "4.0.219"
27
27
  },
28
28
  "exports": {
29
29
  "./package.json": "./package.json",