fix(ci): preserve deploy health url
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ steps:
|
|||||||
- grep -q '"ok":true' /tmp/bone-kingdom-socket-health.json
|
- grep -q '"ok":true' /tmp/bone-kingdom-socket-health.json
|
||||||
- curl -fsS "$DEPLOY_TARGET_URL" >/tmp/bone-kingdom-index.html
|
- curl -fsS "$DEPLOY_TARGET_URL" >/tmp/bone-kingdom-index.html
|
||||||
- grep -q '<div id="root">' /tmp/bone-kingdom-index.html
|
- grep -q '<div id="root">' /tmp/bone-kingdom-index.html
|
||||||
- curl -fsS "${DEPLOY_TARGET_URL%/}/health" >/tmp/bone-kingdom-frontend-health.json
|
- curl -fsS "$DEPLOY_TARGET_URL"health >/tmp/bone-kingdom-frontend-health.json
|
||||||
- grep -q '"ok":true' /tmp/bone-kingdom-frontend-health.json
|
- grep -q '"ok":true' /tmp/bone-kingdom-frontend-health.json
|
||||||
depends_on:
|
depends_on:
|
||||||
- validate
|
- validate
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
"changes": [
|
"changes": [
|
||||||
"Updated the Toolkit socket restart script to find Node and npm from standard macOS, Homebrew, and NVM locations.",
|
"Updated the Toolkit socket restart script to find Node and npm from standard macOS, Homebrew, and NVM locations.",
|
||||||
"Added a bounded health retry so deploys wait for the socket to bind before failing.",
|
"Added a bounded health retry so deploys wait for the socket to bind before failing.",
|
||||||
|
"Fixed the Woodpecker frontend health URL check so pipeline interpolation cannot strip the deploy target.",
|
||||||
"Kept the restart command safe for non-interactive SSH deploy sessions.",
|
"Kept the restart command safe for non-interactive SSH deploy sessions.",
|
||||||
"Preserved the shared workspace socket behavior for deployed Toolkit editing."
|
"Preserved the shared workspace socket behavior for deployed Toolkit editing."
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user