@forgezero/agent 0.1.52 → 0.1.53
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/agent-heartbeat.js +1 -1
- package/dist/bootstrap.js +1 -1
- package/dist/community-rehearsal-host.js +3 -3
- package/dist/definition.js +1 -1
- package/dist/deploy-file.js +1 -1
- package/dist/fz-agent.js +4 -4
- package/dist/fz.js +1 -1
- package/dist/metal-bootstrap.js +1 -1
- package/dist/operator-bootstrap.js +1 -1
- package/dist/platform-fleet-verification.js +2 -2
- package/dist/provision.js +2 -2
- package/dist/software-helper.js +1 -1
- package/dist/software.js +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/agent-heartbeat.js
CHANGED
package/dist/bootstrap.js
CHANGED
|
@@ -88,7 +88,7 @@ async function executeSoftwareOperation(operation) {
|
|
|
88
88
|
return binary.exitCode === 0 ? run(["/usr/bin/systemctl", "is-active", "--quiet", "nginx.service"]) : binary;
|
|
89
89
|
}
|
|
90
90
|
if (software === "arangodb") {
|
|
91
|
-
const binary = await run(["/usr/
|
|
91
|
+
const binary = await run(["/usr/sbin/arangod", "--version"]);
|
|
92
92
|
if (!successful(binary, /3\.11\.14/))
|
|
93
93
|
return { ...binary, exitCode: 1 };
|
|
94
94
|
const [active, enabled] = await Promise.all([
|
|
@@ -387,7 +387,7 @@ function planCommunityRehearsalPrepare(request) {
|
|
|
387
387
|
const node = exactNode(request.node);
|
|
388
388
|
const releaseRoot = `${COMMUNITY_REHEARSAL_ROOT}/releases/${request.release}`;
|
|
389
389
|
return [
|
|
390
|
-
{ kind: "exec", argv: ["/usr/
|
|
390
|
+
{ kind: "exec", argv: ["/usr/sbin/arangod", "--version"] },
|
|
391
391
|
{ kind: "exec", argv: ["/usr/bin/systemctl", "stop", "forgezero-community-api.service"], accepted: [0, 5] },
|
|
392
392
|
{ kind: "exec", argv: ["/usr/bin/systemctl", "stop", "forgezero-rehearsal-db.service"], accepted: [0, 5] },
|
|
393
393
|
{ kind: "remove-tree", path: COMMUNITY_DATABASE_ROOT },
|
|
@@ -442,7 +442,7 @@ async function applyOperations(operations) {
|
|
|
442
442
|
const result = await exec(operation.argv, operation.stdin);
|
|
443
443
|
if (!(operation.accepted ?? [0]).includes(result.exitCode))
|
|
444
444
|
throw new Error(`${operation.argv[0]} failed (${result.exitCode}): ${result.output.trim()}`);
|
|
445
|
-
if (operation.argv[0] === "/usr/
|
|
445
|
+
if (operation.argv[0] === "/usr/sbin/arangod" && !result.output.split(/\r?\n/, 1)[0]?.includes(COMMUNITY_REHEARSAL_VERSION)) {
|
|
446
446
|
throw new Error(`community rehearsal requires ArangoDB ${COMMUNITY_REHEARSAL_VERSION}`);
|
|
447
447
|
}
|
|
448
448
|
}
|
package/dist/definition.js
CHANGED
|
@@ -88,7 +88,7 @@ async function executeSoftwareOperation(operation) {
|
|
|
88
88
|
return binary.exitCode === 0 ? run(["/usr/bin/systemctl", "is-active", "--quiet", "nginx.service"]) : binary;
|
|
89
89
|
}
|
|
90
90
|
if (software === "arangodb") {
|
|
91
|
-
const binary = await run(["/usr/
|
|
91
|
+
const binary = await run(["/usr/sbin/arangod", "--version"]);
|
|
92
92
|
if (!successful(binary, /3\.11\.14/))
|
|
93
93
|
return { ...binary, exitCode: 1 };
|
|
94
94
|
const [active, enabled] = await Promise.all([
|
package/dist/deploy-file.js
CHANGED
|
@@ -88,7 +88,7 @@ async function executeSoftwareOperation(operation) {
|
|
|
88
88
|
return binary.exitCode === 0 ? run(["/usr/bin/systemctl", "is-active", "--quiet", "nginx.service"]) : binary;
|
|
89
89
|
}
|
|
90
90
|
if (software === "arangodb") {
|
|
91
|
-
const binary = await run(["/usr/
|
|
91
|
+
const binary = await run(["/usr/sbin/arangod", "--version"]);
|
|
92
92
|
if (!successful(binary, /3\.11\.14/))
|
|
93
93
|
return { ...binary, exitCode: 1 };
|
|
94
94
|
const [active, enabled] = await Promise.all([
|
package/dist/fz-agent.js
CHANGED
|
@@ -5037,7 +5037,7 @@ async function executeSoftwareOperation(operation) {
|
|
|
5037
5037
|
return binary.exitCode === 0 ? run(["/usr/bin/systemctl", "is-active", "--quiet", "nginx.service"]) : binary;
|
|
5038
5038
|
}
|
|
5039
5039
|
if (software === "arangodb") {
|
|
5040
|
-
const binary = await run(["/usr/
|
|
5040
|
+
const binary = await run(["/usr/sbin/arangod", "--version"]);
|
|
5041
5041
|
if (!successful(binary, /3\.11\.14/))
|
|
5042
5042
|
return { ...binary, exitCode: 1 };
|
|
5043
5043
|
const [active, enabled] = await Promise.all([
|
|
@@ -7010,7 +7010,7 @@ function assertSupportedGuestImage(imageKey) {
|
|
|
7010
7010
|
}
|
|
7011
7011
|
|
|
7012
7012
|
// src/version.ts
|
|
7013
|
-
var VERSION = "0.1.
|
|
7013
|
+
var VERSION = "0.1.53";
|
|
7014
7014
|
|
|
7015
7015
|
// src/ssh-bootstrap.ts
|
|
7016
7016
|
class SshBootstrapError extends Error {
|
|
@@ -13352,7 +13352,7 @@ function planCommunityRehearsalPrepare(request) {
|
|
|
13352
13352
|
const node = exactNode(request.node);
|
|
13353
13353
|
const releaseRoot = `${COMMUNITY_REHEARSAL_ROOT}/releases/${request.release}`;
|
|
13354
13354
|
return [
|
|
13355
|
-
{ kind: "exec", argv: ["/usr/
|
|
13355
|
+
{ kind: "exec", argv: ["/usr/sbin/arangod", "--version"] },
|
|
13356
13356
|
{ kind: "exec", argv: ["/usr/bin/systemctl", "stop", "forgezero-community-api.service"], accepted: [0, 5] },
|
|
13357
13357
|
{ kind: "exec", argv: ["/usr/bin/systemctl", "stop", "forgezero-rehearsal-db.service"], accepted: [0, 5] },
|
|
13358
13358
|
{ kind: "remove-tree", path: COMMUNITY_DATABASE_ROOT },
|
|
@@ -13407,7 +13407,7 @@ async function applyOperations(operations) {
|
|
|
13407
13407
|
const result = await exec(operation.argv, operation.stdin);
|
|
13408
13408
|
if (!(operation.accepted ?? [0]).includes(result.exitCode))
|
|
13409
13409
|
throw new Error(`${operation.argv[0]} failed (${result.exitCode}): ${result.output.trim()}`);
|
|
13410
|
-
if (operation.argv[0] === "/usr/
|
|
13410
|
+
if (operation.argv[0] === "/usr/sbin/arangod" && !result.output.split(/\r?\n/, 1)[0]?.includes(COMMUNITY_REHEARSAL_VERSION)) {
|
|
13411
13411
|
throw new Error(`community rehearsal requires ArangoDB ${COMMUNITY_REHEARSAL_VERSION}`);
|
|
13412
13412
|
}
|
|
13413
13413
|
}
|
package/dist/fz.js
CHANGED
package/dist/metal-bootstrap.js
CHANGED
|
@@ -292,7 +292,7 @@ function systemdAgentEgressDirectives(loopbackTcpPorts = []) {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
// src/version.ts
|
|
295
|
-
var VERSION = "0.1.
|
|
295
|
+
var VERSION = "0.1.53";
|
|
296
296
|
|
|
297
297
|
// src/otel-collector.ts
|
|
298
298
|
var FORGEZERO_OTEL_COLLECTOR_UNIT = "forgezero-otel-collector.service";
|
|
@@ -766,7 +766,7 @@ async function executeSoftwareOperation(operation) {
|
|
|
766
766
|
return binary.exitCode === 0 ? run(["/usr/bin/systemctl", "is-active", "--quiet", "nginx.service"]) : binary;
|
|
767
767
|
}
|
|
768
768
|
if (software === "arangodb") {
|
|
769
|
-
const binary = await run(["/usr/
|
|
769
|
+
const binary = await run(["/usr/sbin/arangod", "--version"]);
|
|
770
770
|
if (!successful(binary, /3\.11\.14/))
|
|
771
771
|
return { ...binary, exitCode: 1 };
|
|
772
772
|
const [active, enabled] = await Promise.all([
|
|
@@ -1707,7 +1707,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
|
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
1709
1709
|
// src/version.ts
|
|
1710
|
-
var VERSION3 = "0.1.
|
|
1710
|
+
var VERSION3 = "0.1.53";
|
|
1711
1711
|
|
|
1712
1712
|
// src/egress-policy.ts
|
|
1713
1713
|
import { realpathSync as realpathSync2 } from "node:fs";
|
package/dist/provision.js
CHANGED
|
@@ -766,7 +766,7 @@ async function executeSoftwareOperation(operation) {
|
|
|
766
766
|
return binary.exitCode === 0 ? run(["/usr/bin/systemctl", "is-active", "--quiet", "nginx.service"]) : binary;
|
|
767
767
|
}
|
|
768
768
|
if (software === "arangodb") {
|
|
769
|
-
const binary = await run(["/usr/
|
|
769
|
+
const binary = await run(["/usr/sbin/arangod", "--version"]);
|
|
770
770
|
if (!successful(binary, /3\.11\.14/))
|
|
771
771
|
return { ...binary, exitCode: 1 };
|
|
772
772
|
const [active, enabled] = await Promise.all([
|
|
@@ -1707,7 +1707,7 @@ function requestSoftware(requirements, socketPath = DEFAULT_SOFTWARE_HELPER_SOCK
|
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
1709
1709
|
// src/version.ts
|
|
1710
|
-
var VERSION3 = "0.1.
|
|
1710
|
+
var VERSION3 = "0.1.53";
|
|
1711
1711
|
|
|
1712
1712
|
// src/egress-policy.ts
|
|
1713
1713
|
import { realpathSync as realpathSync2 } from "node:fs";
|
package/dist/software-helper.js
CHANGED
|
@@ -88,7 +88,7 @@ async function executeSoftwareOperation(operation) {
|
|
|
88
88
|
return binary.exitCode === 0 ? run(["/usr/bin/systemctl", "is-active", "--quiet", "nginx.service"]) : binary;
|
|
89
89
|
}
|
|
90
90
|
if (software === "arangodb") {
|
|
91
|
-
const binary = await run(["/usr/
|
|
91
|
+
const binary = await run(["/usr/sbin/arangod", "--version"]);
|
|
92
92
|
if (!successful(binary, /3\.11\.14/))
|
|
93
93
|
return { ...binary, exitCode: 1 };
|
|
94
94
|
const [active, enabled] = await Promise.all([
|
package/dist/software.js
CHANGED
|
@@ -88,7 +88,7 @@ async function executeSoftwareOperation(operation) {
|
|
|
88
88
|
return binary.exitCode === 0 ? run(["/usr/bin/systemctl", "is-active", "--quiet", "nginx.service"]) : binary;
|
|
89
89
|
}
|
|
90
90
|
if (software === "arangodb") {
|
|
91
|
-
const binary = await run(["/usr/
|
|
91
|
+
const binary = await run(["/usr/sbin/arangod", "--version"]);
|
|
92
92
|
if (!successful(binary, /3\.11\.14/))
|
|
93
93
|
return { ...binary, exitCode: 1 };
|
|
94
94
|
const [active, enabled] = await Promise.all([
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** One package version shared by both public binaries. Pinned to package.json by tests. */
|
|
2
|
-
export declare const VERSION = "0.1.
|
|
2
|
+
export declare const VERSION = "0.1.53";
|