@envsync-cloud/deploy 0.20.4 → 0.20.5
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/cli.js +5 -5
- package/dist/index.js +5 -5
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1146,11 +1146,11 @@ ${renderEnvList({
|
|
|
1146
1146
|
${apiLicenseVolume}
|
|
1147
1147
|
networks: [envsync]
|
|
1148
1148
|
healthcheck:
|
|
1149
|
-
test: ["CMD", "
|
|
1149
|
+
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health"]
|
|
1150
1150
|
interval: 10s
|
|
1151
1151
|
timeout: 5s
|
|
1152
1152
|
retries: 8
|
|
1153
|
-
start_period:
|
|
1153
|
+
start_period: 60s
|
|
1154
1154
|
deploy:
|
|
1155
1155
|
replicas: ${slotHasApiDeployment(deployment.slots.blue) ? 1 : 0}
|
|
1156
1156
|
|
|
@@ -1165,11 +1165,11 @@ ${renderEnvList({
|
|
|
1165
1165
|
${apiLicenseVolume}
|
|
1166
1166
|
networks: [envsync]
|
|
1167
1167
|
healthcheck:
|
|
1168
|
-
test: ["CMD", "
|
|
1168
|
+
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health"]
|
|
1169
1169
|
interval: 10s
|
|
1170
1170
|
timeout: 5s
|
|
1171
1171
|
retries: 8
|
|
1172
|
-
start_period:
|
|
1172
|
+
start_period: 60s
|
|
1173
1173
|
deploy:
|
|
1174
1174
|
replicas: ${slotHasApiDeployment(deployment.slots.green) ? 1 : 0}` : ""}${netutilsService}${vpnResult?.serviceBlock ?? ""}
|
|
1175
1175
|
|
|
@@ -3631,7 +3631,7 @@ function apiHealth(services, stackName) {
|
|
|
3631
3631
|
if (blue === "healthy" || green === "healthy") return "healthy";
|
|
3632
3632
|
return "degraded";
|
|
3633
3633
|
}
|
|
3634
|
-
function waitForApiSlotHealthy(config, slot, timeoutSeconds =
|
|
3634
|
+
function waitForApiSlotHealthy(config, slot, timeoutSeconds = 300) {
|
|
3635
3635
|
if (currentOptions.dryRun) {
|
|
3636
3636
|
logDryRun(`Would wait for API ${slot} slot readiness`);
|
|
3637
3637
|
return;
|
package/dist/index.js
CHANGED
|
@@ -1143,11 +1143,11 @@ ${renderEnvList({
|
|
|
1143
1143
|
${apiLicenseVolume}
|
|
1144
1144
|
networks: [envsync]
|
|
1145
1145
|
healthcheck:
|
|
1146
|
-
test: ["CMD", "
|
|
1146
|
+
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health"]
|
|
1147
1147
|
interval: 10s
|
|
1148
1148
|
timeout: 5s
|
|
1149
1149
|
retries: 8
|
|
1150
|
-
start_period:
|
|
1150
|
+
start_period: 60s
|
|
1151
1151
|
deploy:
|
|
1152
1152
|
replicas: ${slotHasApiDeployment(deployment.slots.blue) ? 1 : 0}
|
|
1153
1153
|
|
|
@@ -1162,11 +1162,11 @@ ${renderEnvList({
|
|
|
1162
1162
|
${apiLicenseVolume}
|
|
1163
1163
|
networks: [envsync]
|
|
1164
1164
|
healthcheck:
|
|
1165
|
-
test: ["CMD", "
|
|
1165
|
+
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health"]
|
|
1166
1166
|
interval: 10s
|
|
1167
1167
|
timeout: 5s
|
|
1168
1168
|
retries: 8
|
|
1169
|
-
start_period:
|
|
1169
|
+
start_period: 60s
|
|
1170
1170
|
deploy:
|
|
1171
1171
|
replicas: ${slotHasApiDeployment(deployment.slots.green) ? 1 : 0}` : ""}${netutilsService}${vpnResult?.serviceBlock ?? ""}
|
|
1172
1172
|
|
|
@@ -3493,7 +3493,7 @@ function apiHealth(services, stackName) {
|
|
|
3493
3493
|
if (blue === "healthy" || green === "healthy") return "healthy";
|
|
3494
3494
|
return "degraded";
|
|
3495
3495
|
}
|
|
3496
|
-
function waitForApiSlotHealthy(config, slot, timeoutSeconds =
|
|
3496
|
+
function waitForApiSlotHealthy(config, slot, timeoutSeconds = 300) {
|
|
3497
3497
|
if (currentOptions.dryRun) {
|
|
3498
3498
|
logDryRun(`Would wait for API ${slot} slot readiness`);
|
|
3499
3499
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@envsync-cloud/deploy",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.5",
|
|
4
4
|
"description": "OSS CLI for self-hosted EnvSync deployment on Docker Swarm",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"zod": "^3.25.76"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@envsync-cloud/deploy-core": "0.20.
|
|
49
|
+
"@envsync-cloud/deploy-core": "0.20.5",
|
|
50
50
|
"tsup": "^8.5.0",
|
|
51
51
|
"typescript": "^5.9.2"
|
|
52
52
|
},
|