gowalk-cicd 1.0.79 → 1.0.80
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/CLAUDE.md
CHANGED
|
@@ -177,7 +177,10 @@ node /path/to/gowalk-cicd/bin/cli.mjs
|
|
|
177
177
|
explicit workflow dispatch remains available. Keep backend deployment's own path filters
|
|
178
178
|
intact, and do not broadly exclude assets, root build settings or unknown app layouts.
|
|
179
179
|
- Domain-backed backend deploys fail closed on certificate issuance and the
|
|
180
|
-
public HTTPS health probe.
|
|
180
|
+
public HTTPS health probe. The probe requires a completed 2xx response with normal TLS
|
|
181
|
+
verification; a redirect, including one to the same URL, is not healthy. Each attempt
|
|
182
|
+
has bounded connection/total time and retains only curl exit and HTTP status diagnostics.
|
|
183
|
+
`select_certbot_account.sh` chooses one existing
|
|
181
184
|
Let's Encrypt ACME v2 account deterministically so multi-account hosts stay
|
|
182
185
|
non-interactive; legacy v1 account directories are not valid candidates.
|
|
183
186
|
`ensure_certificate.sh` preserves failed inventory status and retries only Certbot's
|
package/action/.daemux-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.80
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.80
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.80
|
|
@@ -107,11 +107,15 @@ fi
|
|
|
107
107
|
# and the application together; a green deploy must mean the public API works.
|
|
108
108
|
PUBLIC_HEALTHY=""
|
|
109
109
|
for i in $(seq 1 15); do
|
|
110
|
-
|
|
110
|
+
CURL_EXIT=0
|
|
111
|
+
HTTP_CODE="$(curl --disable --silent --output /dev/null --write-out '%{http_code}' \
|
|
112
|
+
--proto '=https' --connect-timeout 5 --max-time 10 "https://$DOMAIN$HEALTH")" || CURL_EXIT=$?
|
|
113
|
+
if [ "$CURL_EXIT" -eq 0 ] && [[ "$HTTP_CODE" =~ ^2[0-9]{2}$ ]]; then
|
|
111
114
|
log "public https://$DOMAIN$HEALTH healthy (after ${i}x2s)"
|
|
112
115
|
PUBLIC_HEALTHY=1
|
|
113
116
|
break
|
|
114
117
|
fi
|
|
118
|
+
log "public health not ready (curl=$CURL_EXIT, http=$HTTP_CODE, attempt=$i/15)"
|
|
115
119
|
sleep 2
|
|
116
120
|
done
|
|
117
121
|
if [ -z "$PUBLIC_HEALTHY" ]; then
|