feat: 增加 Gitea webhook relay 诊断

- Gitea client: 新增 hooks 读取并只保留安全诊断字段
- Projects: 在 Gitea 诊断中补充 webhook/relay 匹配状态
- Settings: 增加 GITEA_WEBHOOK_RELAY_BASE_URL 配置说明
This commit is contained in:
湛兮
2026-06-12 04:57:15 +08:00
parent 71c1c017ab
commit f92ee66298
8 changed files with 254 additions and 7 deletions
+1
View File
@@ -24,6 +24,7 @@ JENKINS_AUTO_SYNC_INTERVAL_MS=30000
GITEA_BASE_URL=https://gitea.example.internal
GITEA_TOKEN=replace-with-secret-manager-value
GITEA_WEBHOOK_SECRET=replace-with-secret-manager-value
GITEA_WEBHOOK_RELAY_BASE_URL=https://jenkins.example.internal/gitea-jenkins-notify
# Public platform URL used in notification links.
DEVOPS_PUBLIC_URL=https://devops.mrzhan.top