51 Commits

Author SHA1 Message Date
03b8b52315 fix(registrar): 标签按行拼接避免逗号拆分;默认启用 TCP TLS;新增 TLS_MODE
All checks were successful
Build and Push to ACR / docker (push) Successful in 3m49s
- 修复 ConsulCatalog 标签因逗号分割导致的解析错误:
  「error parsing server URL ... : invalid port ':9009,'」
  现在改为按“行”累加标签,再转换为 JSON 数组,避免值中逗号(如 middlewares)被错误拆分
- TCP 路由默认启用 TLS(terminating),补齐 tls=true / tls.certresolver
  修复「HostSNI(...) but no TLS on router」
- 新增 TLS_MODE=terminating|passthrough|plaintext 三种模式
- 统一使用 loadbalancer.server.port(替代 server.url),规避尾逗号风险
- 提供严格的 to_json_array 实现,避免尾逗号 JSON 问题
- HTTP 路由补充 priority=10000;保留可选中间件(需与动态配置名称一致)

Test plan:
- 清理旧服务并重注册:
  curl -s http://100.64.0.1:8500/v1/agent/services \
    | jq 'to_entries[] | select(.value.Service=="mcp") | .key' \
    | xargs -I{} curl -s -X PUT http://100.64.0.1:8500/v1/agent/service/deregister/{}
  然后重启注册器容器
- 验证 Traefik 路由:
  curl -s http://localhost:8083/api/tcp/routers \
    | jq '.[] | select(.rule|test("ci-agent\\.jmsu\\.top")) | {name,entryPoints,tls}'
- 验证证书握手:
  openssl s_client -connect ci-agent.jmsu.top:4443 -servername ci-agent.jmsu.top -brief </dev/null

Refs:
- invalid port ":9009,"
- HostSNI(...) but no TLS on router
2025-10-03 14:52:04 +08:00
32a8a1a0c1 Merge branch 'main' of ssh://gitea.jmsu.top:2222/lingyuzeng/rustfs-s3-toolkit
All checks were successful
Build and Push to ACR / docker (push) Successful in 7m42s
2025-10-02 21:03:27 +08:00
dce7cb6fc9 改用新版方式注册,云端使用通配符证书 2025-10-02 21:02:25 +08:00
f14fdf208e 更新 .gitea/workflows/build-and-push.yml
All checks were successful
Build and Push to ACR / docker (push) Successful in 3m3s
removev2fly
2025-10-01 02:05:37 +00:00
83ded96b63 test11
Some checks failed
Build and Push to ACR / docker (push) Has been cancelled
2025-09-30 21:51:33 +08:00
8decad32b9 base64 config
Some checks failed
Build and Push to ACR / docker (push) Failing after 12s
2025-09-30 21:46:38 +08:00
77410eca8a test3
Some checks failed
Build and Push to ACR / docker (push) Failing after 10s
2025-09-30 21:43:09 +08:00
c53b2ddc61 test2
Some checks failed
Build and Push to ACR / docker (push) Failing after 7s
2025-09-30 21:40:11 +08:00
7e8d79fad3 test1
Some checks failed
Build and Push to ACR / docker (push) Failing after 9s
2025-09-30 21:33:52 +08:00
4ce793ef9b test
Some checks failed
Build and Push to ACR / docker (push) Failing after 15s
2025-09-30 21:32:31 +08:00
2e0ab048a4 aim
Some checks failed
Build and Push to ACR / docker (push) Failing after 19s
2025-09-30 21:29:21 +08:00
a6525749b0 echo
Some checks failed
Build and Push to ACR / docker (push) Has been cancelled
2025-09-30 21:28:18 +08:00
0feb95d93c onestep
Some checks failed
Build and Push to ACR / docker (push) Has been cancelled
2025-09-30 21:25:40 +08:00
52e829cb50 remove json
Some checks failed
Build and Push to ACR / docker (push) Has been cancelled
2025-09-30 21:20:45 +08:00
e1b754aae8 change bind config
Some checks failed
Build and Push to ACR / docker (push) Has been cancelled
2025-09-30 21:19:28 +08:00
beba92eb3a update use v2ray config
Some checks failed
Build and Push to ACR / docker (push) Failing after 21s
2025-09-30 21:15:54 +08:00
9b6f1e639f use v2ray logsangle
Some checks failed
Build and Push to ACR / docker (push) Failing after 1m8s
2025-09-30 20:59:29 +08:00
611ac562ef update
Some checks failed
Build and Push to ACR / docker (push) Failing after 36m1s
2025-09-30 18:13:40 +08:00
952202139b use buildx host mode
Some checks failed
Build and Push to ACR / docker (push) Failing after 2s
2025-09-30 18:10:46 +08:00
dd01553ef7 remove “:”
Some checks failed
Build and Push to ACR / docker (push) Failing after 1s
2025-09-30 17:53:57 +08:00
30673fe0a5 update build action 2025-09-30 17:51:17 +08:00
3e4981a74d use host.docker.internal proxy build
Some checks failed
Build and Push to ACR / docker (push) Failing after 14m21s
2025-09-30 16:47:16 +08:00
d0c567d833 one step
Some checks failed
Build and Push to ACR / docker (push) Failing after 43s
2025-09-30 16:41:10 +08:00
503883752b update
Some checks failed
Build and Push to ACR / docker (push) Failing after 20s
2025-09-30 16:30:39 +08:00
5e71d576a3 add proxy to build images
Some checks failed
Build and Push to ACR / docker (push) Failing after 5m45s
2025-09-30 16:22:35 +08:00
feb82f596d update step: Build Docker Image
Some checks failed
Build and Push to ACR / docker (push) Failing after 12s
2025-09-30 16:17:05 +08:00
1e86f0e297 change tag
Some checks failed
Build and Push to ACR / docker (push) Has been cancelled
2025-09-30 16:07:48 +08:00
99d8f38c65 debug
Some checks failed
Build and Push to ACR / docker (push) Failing after 5s
2025-09-30 15:02:00 +08:00
5342247c10 commit test
Some checks failed
Build and Push to ACR / docker (push) Failing after 7s
2025-09-30 14:52:17 +08:00
6fc8ee5f00 add aliyun ACR
Some checks failed
Build and Push to ACR / docker (push) Failing after 8s
2025-09-30 13:20:33 +08:00
e080b1e820 update v0.1.0 2025-09-29 20:13:04 +08:00
3c3a0e1805 test 2025-09-29 20:12:34 +08:00
02c932dbfc use label buildx 2025-09-29 19:57:40 +08:00
500a0baa51 manual 2025-09-29 19:51:10 +08:00
1c8fc3c150 add action 2025-09-29 19:47:13 +08:00
f37fe4b11a update 2025-09-28 21:07:29 +08:00
7478783eaf srv 多端口解决 2025-09-28 20:38:34 +08:00
09764e0874 add new env to manage rustfs 2025-09-28 20:38:01 +08:00
6326e64824 update record change 1 2025-09-28 19:14:36 +08:00
mm644706215
c2641e7faf add consul test 2025-09-28 17:15:27 +08:00
mm644706215
b1c8d1e896 executeable 2025-07-29 17:11:15 +08:00
mm644706215
6022abf887 change port 2025-07-29 17:11:05 +08:00
mm644706215
88e9486762 add git 2025-07-29 16:56:49 +08:00
mm644706215
3d95fc1359 update build 2025-07-29 16:54:15 +08:00
mm644706215
9bd77e991e feat:更新fastmcp2.10.7,add testfile 2025-07-29 16:54:02 +08:00
mm644706215
b2b1093c6d elicitation版本,需要客户端实现 elicitation_handler 支持 2025-07-29 16:38:23 +08:00
mm644706215
4243814fb1 remove elicitation,需要客户端实现 elicitation_handler 支持。 2025-07-29 16:38:04 +08:00
mm644706215
50acba7486 add fastmcp update to python3.11 2025-07-28 20:10:34 +08:00
mm644706215
08b2a71f45 add pytest in makefile 2025-07-24 11:26:35 +08:00
mm644706215
e8820839fc update 2025-07-24 11:18:10 +08:00