@remotion/cloudrun 4.0.43 → 4.0.44
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.
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> @remotion/cloudrun@4.0.
|
|
2
|
+
> @remotion/cloudrun@4.0.43 build /Users/jonathanburger/remotion/packages/cloudrun
|
|
3
3
|
> tsc -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json && pnpm run buildContainer && pnpm run tarInstaller
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @remotion/cloudrun@4.0.
|
|
6
|
+
> @remotion/cloudrun@4.0.43 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
|
|
7
7
|
> ts-node src/admin/bundle-renderLogic.ts
|
|
8
8
|
|
|
9
9
|
distribution bundled.
|
|
10
10
|
|
|
11
|
-
> @remotion/cloudrun@4.0.
|
|
11
|
+
> @remotion/cloudrun@4.0.43 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
|
|
12
12
|
> ts-node src/admin/bundle-installer.ts
|
|
13
13
|
|
|
14
|
+
Making non-reproducible build with tar.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const hasGTar: () => boolean;
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.hasGTar = void 0;
|
|
6
7
|
const bundler_1 = require("@remotion/bundler");
|
|
7
8
|
const child_process_1 = require("child_process");
|
|
8
9
|
const fs_1 = require("fs");
|
|
@@ -23,10 +24,32 @@ const bundleInstaller = async () => {
|
|
|
23
24
|
(0, fs_1.copyFileSync)(path_1.default.resolve(__dirname, '../gcpInstaller/main.tf'), tfoutfile);
|
|
24
25
|
const sapermissionsoutfile = path_1.default.join(outdir, 'sa-permissions.json');
|
|
25
26
|
(0, fs_1.copyFileSync)(path_1.default.resolve(__dirname, '../shared/sa-permissions.json'), sapermissionsoutfile);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
const tarArgs = `-cf ../gcpInstaller/gcpInstaller.tar -C . ${path_1.default.relative(outdir, bundlemjs)} ${path_1.default.relative(outdir, tfoutfile)} ${path_1.default.relative(outdir, sapermissionsoutfile)}`;
|
|
28
|
+
// A reproducible build will lead to no pending change in Git
|
|
29
|
+
if ((0, exports.hasGTar)()) {
|
|
30
|
+
console.log('Making reproducible build with gtar');
|
|
31
|
+
(0, child_process_1.execSync)(`gtar --mtime='2023-01-01 00:00Z' --sort=name --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime ${tarArgs}`, {
|
|
32
|
+
stdio: 'inherit',
|
|
33
|
+
cwd: outdir,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
console.log('Making non-reproducible build with tar.');
|
|
38
|
+
(0, child_process_1.execSync)(`tar ${tarArgs}`, {
|
|
39
|
+
stdio: 'inherit',
|
|
40
|
+
cwd: outdir,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
30
43
|
(0, fs_1.rmSync)(outdir, { recursive: true });
|
|
31
44
|
};
|
|
32
45
|
bundleInstaller();
|
|
46
|
+
const hasGTar = () => {
|
|
47
|
+
try {
|
|
48
|
+
const output = (0, child_process_1.execSync)('gtar --usage');
|
|
49
|
+
return output.includes('Usage: --sort');
|
|
50
|
+
}
|
|
51
|
+
catch (_a) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
exports.hasGTar = hasGTar;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cloudrun",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.44",
|
|
4
4
|
"description": "GCP Cloud Run alternative to lambda rendering",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"@google-cloud/logging": "^10.5.0",
|
|
13
13
|
"google-auth-library": "^8.7.0",
|
|
14
14
|
"zod": "^3.21.4",
|
|
15
|
-
"@remotion/bundler": "4.0.
|
|
16
|
-
"@remotion/renderer": "4.0.
|
|
17
|
-
"@remotion/cli": "4.0.
|
|
18
|
-
"remotion": "4.0.
|
|
15
|
+
"@remotion/bundler": "4.0.44",
|
|
16
|
+
"@remotion/renderer": "4.0.44",
|
|
17
|
+
"@remotion/cli": "4.0.44",
|
|
18
|
+
"remotion": "4.0.44"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@jonny/eslint-config": "3.0.266",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
27
27
|
"ts-node": "^10.8.0",
|
|
28
28
|
"vitest": "0.24.3",
|
|
29
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
29
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.44"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
"./package.json": "./package.json",
|
package/.turbo/turbo-lint.log
DELETED
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|