@stacksjs/ts-cloud 0.7.101 → 0.7.102
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/bin/cli.js +227 -227
- package/dist/bin/dashboard-server.js +108 -108
- package/dist/{chunk-5qe2pftx.js → chunk-6cf498tw.js} +1 -1
- package/dist/{chunk-m4eqydx5.js → chunk-qrgwwv82.js} +7 -4
- package/dist/deploy/index.js +2 -2
- package/dist/drivers/index.js +1 -1
- package/dist/index.js +2 -2
- package/dist/ui/access-denied.html +2 -2
- package/dist/ui/account/automation.html +4 -4
- package/dist/ui/account/security.html +2 -2
- package/dist/ui/applications/compose.html +4 -4
- package/dist/ui/applications/new.html +2 -2
- package/dist/ui/data/backups.html +4 -4
- package/dist/ui/data/services.html +4 -4
- package/dist/ui/data/volumes.html +4 -4
- package/dist/ui/index.html +4 -4
- package/dist/ui/integrations.html +2 -2
- package/dist/ui/operations/alerts.html +4 -4
- package/dist/ui/operations/configuration.html +4 -4
- package/dist/ui/operations/jobs.html +4 -4
- package/dist/ui/operations/maintenance.html +3 -3
- package/dist/ui/operations/observability.html +4 -4
- package/dist/ui/operations/previews.html +3 -3
- package/dist/ui/operations/queue.html +4 -4
- package/dist/ui/operations/regions.html +4 -4
- package/dist/ui/operations/releases.html +4 -4
- package/dist/ui/operations/workloads.html +3 -3
- package/dist/ui/security.html +2 -2
- package/dist/ui/server/actions.html +3 -3
- package/dist/ui/server/activity.html +2 -2
- package/dist/ui/server/capacity.html +4 -4
- package/dist/ui/server/database.html +4 -4
- package/dist/ui/server/deployments.html +4 -4
- package/dist/ui/server/firewall.html +4 -4
- package/dist/ui/server/fleet.html +3 -3
- package/dist/ui/server/logs.html +4 -4
- package/dist/ui/server/metrics.html +4 -4
- package/dist/ui/server/services.html +2 -2
- package/dist/ui/server/sites.html +4 -4
- package/dist/ui/server/ssh-keys.html +4 -4
- package/dist/ui/server/team.html +4 -4
- package/dist/ui/server/terminal.html +2 -2
- package/dist/ui/serverless/alarms.html +4 -4
- package/dist/ui/serverless/assets.html +2 -2
- package/dist/ui/serverless/cost.html +2 -2
- package/dist/ui/serverless/data.html +4 -4
- package/dist/ui/serverless/firewall.html +2 -2
- package/dist/ui/serverless/functions.html +3 -3
- package/dist/ui/serverless/logs.html +4 -4
- package/dist/ui/serverless/metrics.html +2 -2
- package/dist/ui/serverless/queues.html +4 -4
- package/dist/ui/serverless/secrets.html +4 -4
- package/dist/ui/serverless/traces.html +4 -4
- package/dist/ui/serverless.html +4 -4
- package/package.json +3 -3
|
@@ -352,11 +352,14 @@ function buildVitessAuthFileScript(config) {
|
|
|
352
352
|
const auth = JSON.stringify({ [user]: [{ Password: password, UserData: user }] });
|
|
353
353
|
return [
|
|
354
354
|
"mkdir -p /etc/vitess",
|
|
355
|
-
|
|
355
|
+
'VTESS_AUTH_TMP="$(mktemp)"',
|
|
356
|
+
`cat > "$VTESS_AUTH_TMP" <<'TS_CLOUD_VITESS_AUTH_EOF'`,
|
|
356
357
|
auth,
|
|
357
358
|
"TS_CLOUD_VITESS_AUTH_EOF",
|
|
358
|
-
`
|
|
359
|
-
`
|
|
359
|
+
`VTESS_VTGATE_AUTH_CHANGED=0`,
|
|
360
|
+
`cmp -s "$VTESS_AUTH_TMP" ${VITESS_AUTH_FILE} || VTESS_VTGATE_AUTH_CHANGED=1`,
|
|
361
|
+
`install -o ${VITESS_USER} -g ${VITESS_USER} -m 0600 "$VTESS_AUTH_TMP" ${VITESS_AUTH_FILE}`,
|
|
362
|
+
'rm -f "$VTESS_AUTH_TMP"'
|
|
360
363
|
];
|
|
361
364
|
}
|
|
362
365
|
function buildVtgateUnit(config) {
|
|
@@ -453,7 +456,7 @@ function buildVitessProvisionScript(value) {
|
|
|
453
456
|
out.push("systemctl daemon-reload");
|
|
454
457
|
for (const [name] of units)
|
|
455
458
|
out.push(`systemctl enable --now ${name}.service`);
|
|
456
|
-
out.push(...buildVitessBootstrapScript(config), ...buildVitessHealthCheck(config));
|
|
459
|
+
out.push('if [ "$VTESS_VTGATE_AUTH_CHANGED" = 1 ]; then systemctl restart vitess-vtgate.service; fi', ...buildVitessBootstrapScript(config), ...buildVitessHealthCheck(config));
|
|
457
460
|
return out;
|
|
458
461
|
}
|
|
459
462
|
|
package/dist/deploy/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
synchronizeDashboardUsers,
|
|
31
31
|
trackDashboardOperation,
|
|
32
32
|
verifyStaticApiOrigin
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-6cf498tw.js";
|
|
34
34
|
import {
|
|
35
35
|
deleteStaticSite,
|
|
36
36
|
deployStaticSite,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
siteInstallBase,
|
|
71
71
|
validateDeploymentConfig,
|
|
72
72
|
verifyAddressRecord
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-qrgwwv82.js";
|
|
74
74
|
import"../chunk-c6db5m63.js";
|
|
75
75
|
import"../chunk-7m60qnc8.js";
|
|
76
76
|
import"../chunk-4cjrg98a.js";
|
package/dist/drivers/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -283,7 +283,7 @@ import {
|
|
|
283
283
|
volumeCapabilities,
|
|
284
284
|
webhookEndpoint,
|
|
285
285
|
zeroCapacity
|
|
286
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-6cf498tw.js";
|
|
287
287
|
import {
|
|
288
288
|
deleteStaticSite,
|
|
289
289
|
deployStaticSite,
|
|
@@ -405,7 +405,7 @@ import {
|
|
|
405
405
|
waitForCloudInit,
|
|
406
406
|
waitForSsh,
|
|
407
407
|
wrapCloudInitUserData
|
|
408
|
-
} from "./chunk-
|
|
408
|
+
} from "./chunk-qrgwwv82.js";
|
|
409
409
|
import {
|
|
410
410
|
ABTestManager,
|
|
411
411
|
AI,
|