fix(ci): use public api for post deploy smoke
All checks were successful
Code Review / ai-code-review (push) Successful in 25s
All checks were successful
Code Review / ai-code-review (push) Successful in 25s
This commit is contained in:
@@ -52,10 +52,11 @@ env:
|
||||
# unreachable; pinning CD to it blocks secret injection before GitOps deploy.
|
||||
K8S_SSH_HOST: 192.168.0.121
|
||||
K8S_API_SERVER: https://192.168.0.121:6443
|
||||
# 2026-05-05 Codex: health/smoke probes use the keepalived VIP instead of a
|
||||
# fixed node. Kubectl still tunnels through K8S_SSH_HOST.
|
||||
API_HEALTH_URL: http://192.168.0.125:32334/api/v1/health
|
||||
ALERT_CHAIN_API_URL: http://192.168.0.125:32334
|
||||
# 2026-06-01 Codex: post-deploy health/smoke probes use the production
|
||||
# public API. The old 192.168.0.125 NodePort VIP can be absent while the
|
||||
# public route and in-cluster service are healthy, causing false failures.
|
||||
API_HEALTH_URL: https://awoooi.wooo.work/api/v1/health
|
||||
ALERT_CHAIN_API_URL: https://awoooi.wooo.work
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
||||
@@ -17,7 +17,7 @@ Wave A.6 (ADR-037): 驗證告警鏈路 E2E 完整性
|
||||
|
||||
CI 整合 (cd.yaml):
|
||||
python3 scripts/alert_chain_smoke_test.py \
|
||||
--api-url http://localhost:32334 \
|
||||
--api-url https://awoooi.wooo.work \
|
||||
--fail-fast
|
||||
|
||||
# Phase O-4.5 2026-04-02 (台北時間)
|
||||
@@ -41,7 +41,7 @@ from urllib.request import Request, urlopen
|
||||
# =============================================================================
|
||||
# 配置
|
||||
# =============================================================================
|
||||
DEFAULT_API_URL = "http://192.168.0.125:32334"
|
||||
DEFAULT_API_URL = "https://awoooi.wooo.work"
|
||||
SIGNOZ_URL = "http://192.168.0.188:3301"
|
||||
ALERTMANAGER_URL = "http://192.168.0.188:9093"
|
||||
PROMETHEUS_URL = "http://192.168.0.110:9090"
|
||||
|
||||
Reference in New Issue
Block a user