@decocms/sandbox-controller 0.16.3 → 0.16.4
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/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4521,6 +4521,7 @@ function tenantPoolReader(store, cluster, { refreshMs = DEFAULT_TENANT_POOL_REFR
|
|
|
4521
4521
|
|
|
4522
4522
|
// ../sandbox/server/provider/freestyle.ts
|
|
4523
4523
|
import { createHash as createHash3, createHmac, randomBytes as randomBytes2 } from "crypto";
|
|
4524
|
+
import { dirname } from "path";
|
|
4524
4525
|
|
|
4525
4526
|
// ../../node_modules/.bun/freestyle@0.2.16/node_modules/freestyle/dist/errors.js
|
|
4526
4527
|
var FreestyleApiError = class _FreestyleApiError extends Error {
|
|
@@ -6804,7 +6805,7 @@ var Freestyle = class {
|
|
|
6804
6805
|
// ../sandbox/package.json
|
|
6805
6806
|
var package_default = {
|
|
6806
6807
|
name: "@decocms/sandbox",
|
|
6807
|
-
version: "1.96.
|
|
6808
|
+
version: "1.96.4",
|
|
6808
6809
|
private: true,
|
|
6809
6810
|
type: "module",
|
|
6810
6811
|
description: "Sandbox runtime for isolated Studio tool execution",
|
|
@@ -7104,7 +7105,7 @@ running${namespaceMode}${signing}`).digest("hex").slice(0, 16)}`;
|
|
|
7104
7105
|
if (this.commitSigning) {
|
|
7105
7106
|
await this.run(
|
|
7106
7107
|
vm,
|
|
7107
|
-
`printf '%s' "$GIT_SIGNING_KEY" | sudo sh -c 'umask 377 && cat > ${HOST_SIGNING_KEY} && chown 1000:1000 ${HOST_SIGNING_KEY}'`,
|
|
7108
|
+
`printf '%s' "$GIT_SIGNING_KEY" | sudo sh -c 'mkdir -p ${dirname(HOST_SIGNING_KEY)} && umask 377 && cat > ${HOST_SIGNING_KEY} && chown 1000:1000 ${HOST_SIGNING_KEY}'`,
|
|
7108
7109
|
{ env: { GIT_SIGNING_KEY: this.commitSigning.privateKey } }
|
|
7109
7110
|
);
|
|
7110
7111
|
}
|