@stacksjs/buddy 0.70.253 → 0.70.255
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/commands/deploy.js +11 -14
- package/package.json +43 -43
package/dist/commands/deploy.js
CHANGED
|
@@ -896,20 +896,17 @@ async function runHetznerDeploy(args) {
|
|
|
896
896
|
if (ok && publishedDns.length > 0) {
|
|
897
897
|
log.info(`Issuing TLS for ${publishedDns.length} newly published record(s)...`);
|
|
898
898
|
try {
|
|
899
|
-
const {
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
};
|
|
911
|
-
await renewRpxCertificates(gatewayOptions);
|
|
912
|
-
await reloadRpxGateway(gatewayOptions);
|
|
899
|
+
const { execSync } = await import("node:child_process"), unit = `rpx-cert-renew-${tsCloudConfig.project?.slug || "app"}.service`, certSshArgs = ["-o", "StrictHostKeyChecking=accept-new", "-o", "BatchMode=yes", "-o", "ConnectTimeout=20", `root@${ip}`], out = execSync(`ssh ${certSshArgs.map((a) => `'${a}'`).join(" ")} bash -s`, {
|
|
900
|
+
input: `systemctl start ${unit} 2>&1 || true
|
|
901
|
+
systemctl is-active ${unit} >/dev/null 2>&1 && echo TLSUNIT:running || echo TLSUNIT:done
|
|
902
|
+
journalctl -u ${unit} -n 20 --no-pager 2>/dev/null | grep -E 'Certificate written|Skipping|error|Error' | tail -5 || true`,
|
|
903
|
+
encoding: "utf8",
|
|
904
|
+
stdio: ["pipe", "pipe", "pipe"]
|
|
905
|
+
});
|
|
906
|
+
for (const line of out.split(`
|
|
907
|
+
`))
|
|
908
|
+
if (/Certificate written|Skipping/.test(line))
|
|
909
|
+
log.info(` ${line.replace(/^.*?\]:\s*/, "").trim()}`);
|
|
913
910
|
log.success("TLS issued and gateway reloaded for the new record(s)");
|
|
914
911
|
} catch (err) {
|
|
915
912
|
log.warn(`TLS issuance after DNS failed: ${err?.message || err}`);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/buddy",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.70.
|
|
5
|
+
"version": "0.70.255",
|
|
6
6
|
"description": "Meet Buddy. The Stacks runtime.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -88,53 +88,53 @@
|
|
|
88
88
|
"prepublishOnly": "bun run build"
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
|
-
"@stacksjs/actions": "^0.70.
|
|
92
|
-
"@stacksjs/ai": "^0.70.
|
|
93
|
-
"@stacksjs/alias": "^0.70.
|
|
94
|
-
"@stacksjs/arrays": "^0.70.
|
|
95
|
-
"@stacksjs/auth": "^0.70.
|
|
96
|
-
"@stacksjs/build": "^0.70.
|
|
97
|
-
"@stacksjs/cache": "^0.70.
|
|
98
|
-
"@stacksjs/cli": "^0.70.
|
|
91
|
+
"@stacksjs/actions": "^0.70.255",
|
|
92
|
+
"@stacksjs/ai": "^0.70.255",
|
|
93
|
+
"@stacksjs/alias": "^0.70.255",
|
|
94
|
+
"@stacksjs/arrays": "^0.70.255",
|
|
95
|
+
"@stacksjs/auth": "^0.70.255",
|
|
96
|
+
"@stacksjs/build": "^0.70.255",
|
|
97
|
+
"@stacksjs/cache": "^0.70.255",
|
|
98
|
+
"@stacksjs/cli": "^0.70.255",
|
|
99
99
|
"@stacksjs/clapp": "^0.2.12",
|
|
100
|
-
"@stacksjs/cloud": "^0.70.
|
|
101
|
-
"@stacksjs/collections": "^0.70.
|
|
102
|
-
"@stacksjs/config": "^0.70.
|
|
103
|
-
"@stacksjs/database": "^0.70.
|
|
104
|
-
"@stacksjs/desktop-build": "^0.70.
|
|
105
|
-
"@stacksjs/dns": "^0.70.
|
|
106
|
-
"@stacksjs/email": "^0.70.
|
|
107
|
-
"@stacksjs/enums": "^0.70.
|
|
108
|
-
"@stacksjs/error-handling": "^0.70.
|
|
109
|
-
"@stacksjs/events": "^0.70.
|
|
110
|
-
"@stacksjs/git": "^0.70.
|
|
100
|
+
"@stacksjs/cloud": "^0.70.255",
|
|
101
|
+
"@stacksjs/collections": "^0.70.255",
|
|
102
|
+
"@stacksjs/config": "^0.70.255",
|
|
103
|
+
"@stacksjs/database": "^0.70.255",
|
|
104
|
+
"@stacksjs/desktop-build": "^0.70.255",
|
|
105
|
+
"@stacksjs/dns": "^0.70.255",
|
|
106
|
+
"@stacksjs/email": "^0.70.255",
|
|
107
|
+
"@stacksjs/enums": "^0.70.255",
|
|
108
|
+
"@stacksjs/error-handling": "^0.70.255",
|
|
109
|
+
"@stacksjs/events": "^0.70.255",
|
|
110
|
+
"@stacksjs/git": "^0.70.255",
|
|
111
111
|
"@stacksjs/gitit": "^0.2.5",
|
|
112
|
-
"@stacksjs/health": "^0.70.
|
|
112
|
+
"@stacksjs/health": "^0.70.255",
|
|
113
113
|
"@stacksjs/dnsx": "^0.2.3",
|
|
114
114
|
"@stacksjs/httx": "^0.1.10",
|
|
115
|
-
"@stacksjs/image": "^0.70.
|
|
116
|
-
"@stacksjs/lint": "^0.70.
|
|
117
|
-
"@stacksjs/logging": "^0.70.
|
|
118
|
-
"@stacksjs/notifications": "^0.70.
|
|
119
|
-
"@stacksjs/objects": "^0.70.
|
|
120
|
-
"@stacksjs/orm": "^0.70.
|
|
121
|
-
"@stacksjs/path": "^0.70.
|
|
122
|
-
"@stacksjs/skills": "^0.70.
|
|
123
|
-
"@stacksjs/payments": "^0.70.
|
|
124
|
-
"@stacksjs/realtime": "^0.70.
|
|
125
|
-
"@stacksjs/router": "^0.70.
|
|
115
|
+
"@stacksjs/image": "^0.70.255",
|
|
116
|
+
"@stacksjs/lint": "^0.70.255",
|
|
117
|
+
"@stacksjs/logging": "^0.70.255",
|
|
118
|
+
"@stacksjs/notifications": "^0.70.255",
|
|
119
|
+
"@stacksjs/objects": "^0.70.255",
|
|
120
|
+
"@stacksjs/orm": "^0.70.255",
|
|
121
|
+
"@stacksjs/path": "^0.70.255",
|
|
122
|
+
"@stacksjs/skills": "^0.70.255",
|
|
123
|
+
"@stacksjs/payments": "^0.70.255",
|
|
124
|
+
"@stacksjs/realtime": "^0.70.255",
|
|
125
|
+
"@stacksjs/router": "^0.70.255",
|
|
126
126
|
"@stacksjs/rpx": "^0.11.42",
|
|
127
|
-
"@stacksjs/search-engine": "^0.70.
|
|
128
|
-
"@stacksjs/security": "^0.70.
|
|
129
|
-
"@stacksjs/server": "^0.70.
|
|
130
|
-
"@stacksjs/storage": "^0.70.
|
|
131
|
-
"@stacksjs/strings": "^0.70.
|
|
132
|
-
"@stacksjs/testing": "^0.70.
|
|
133
|
-
"@stacksjs/tunnel": "^0.70.
|
|
134
|
-
"@stacksjs/types": "^0.70.
|
|
135
|
-
"@stacksjs/ui": "^0.70.
|
|
136
|
-
"@stacksjs/utils": "^0.70.
|
|
137
|
-
"@stacksjs/validation": "^0.70.
|
|
127
|
+
"@stacksjs/search-engine": "^0.70.255",
|
|
128
|
+
"@stacksjs/security": "^0.70.255",
|
|
129
|
+
"@stacksjs/server": "^0.70.255",
|
|
130
|
+
"@stacksjs/storage": "^0.70.255",
|
|
131
|
+
"@stacksjs/strings": "^0.70.255",
|
|
132
|
+
"@stacksjs/testing": "^0.70.255",
|
|
133
|
+
"@stacksjs/tunnel": "^0.70.255",
|
|
134
|
+
"@stacksjs/types": "^0.70.255",
|
|
135
|
+
"@stacksjs/ui": "^0.70.255",
|
|
136
|
+
"@stacksjs/utils": "^0.70.255",
|
|
137
|
+
"@stacksjs/validation": "^0.70.255",
|
|
138
138
|
"@stacksjs/ts-cloud": "^0.7.92",
|
|
139
139
|
"ajv": "^8.20.0",
|
|
140
140
|
"ajv-formats": "^3.0.1",
|