@envsync-cloud/deploy 0.8.6 → 0.8.8
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 +12 -5
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ var deployConfigSchema = z.object({
|
|
|
22
22
|
ref: z.string().default("main")
|
|
23
23
|
}).default({}),
|
|
24
24
|
release: z.object({
|
|
25
|
-
version: z.string().default("0.8.
|
|
25
|
+
version: z.string().default("0.8.7"),
|
|
26
26
|
channel: z.string().default("stable")
|
|
27
27
|
}).default({}),
|
|
28
28
|
domain: z.object({
|
|
@@ -174,6 +174,11 @@ function buildRuntimeEnv(config, edition) {
|
|
|
174
174
|
ENVSYNC_LANDING_ENABLED: String(enterprise),
|
|
175
175
|
ENVSYNC_SINGLE_ORG_MODE: String(edition === "oss"),
|
|
176
176
|
ENVSYNC_LICENSE_ENFORCEMENT: String(enterprise),
|
|
177
|
+
ENVSYNC_LICENSE_MODE: enterprise ? "certificate" : "none",
|
|
178
|
+
ENVSYNC_LICENSE_BUNDLE_PATH: enterprise ? "/etc/envsync/license/enterprise-license-bundle.json" : "",
|
|
179
|
+
ENVSYNC_LICENSE_CERT_PATH: enterprise ? "/etc/envsync/license/enterprise-cert.pem" : "",
|
|
180
|
+
ENVSYNC_LICENSE_KEY_PATH: enterprise ? "/etc/envsync/license/enterprise-key.pem" : "",
|
|
181
|
+
ENVSYNC_LICENSE_ROOT_CA_CERT_PATH: enterprise ? "/etc/envsync/license/root-ca.pem" : "",
|
|
177
182
|
MANAGEMENT_API_URL: enterprise ? `https://manage-api.${config.domain.root_domain}` : "",
|
|
178
183
|
ENVSYNC_LICENSE_SERVER_URL: enterprise ? config.license.server_url ?? "" : "",
|
|
179
184
|
ENVSYNC_LICENSE_KEY: enterprise ? config.license.key ?? "" : "",
|
|
@@ -276,10 +281,11 @@ function printHelp() {
|
|
|
276
281
|
console.log(`
|
|
277
282
|
${chalk.bold("EnvSync OSS Deploy")}
|
|
278
283
|
|
|
279
|
-
Commands:
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
284
|
+
Commands:
|
|
285
|
+
bootstrap [--force] Bootstrap an OSS self-host topology
|
|
286
|
+
deploy Deploy the OSS self-host topology
|
|
287
|
+
remove [--force] Remove local OSS deployment resources and files
|
|
288
|
+
health [--json] Inspect OSS self-host health
|
|
283
289
|
backup Create a self-host backup
|
|
284
290
|
validate [deploy.yaml] [--json] Validate an OSS topology config
|
|
285
291
|
plan [deploy.yaml] [--json] Render the OSS topology plan
|
|
@@ -317,6 +323,7 @@ async function main() {
|
|
|
317
323
|
switch (command) {
|
|
318
324
|
case "bootstrap":
|
|
319
325
|
case "deploy":
|
|
326
|
+
case "remove":
|
|
320
327
|
case "health":
|
|
321
328
|
case "backup":
|
|
322
329
|
case "restore":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@envsync-cloud/deploy",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"envsync-deploy": "dist/index.js"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"zod": "^3.25.76"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
+
"@envsync-cloud/deploy-core": "workspace:*",
|
|
44
45
|
"tsup": "^8.5.0",
|
|
45
46
|
"typescript": "^5.9.2"
|
|
46
47
|
},
|