跨域配置和fork修改为git原生fork

This commit is contained in:
lxp
2026-10-16 16:39:14 +08:00
parent 61c60f8052
commit 909abe9f1d
35 changed files with 2305 additions and 88 deletions
+3
View File
@@ -19,6 +19,9 @@ if config.exists():
if not environment.get("GITEA_TOKEN"):
raise SystemExit("请先配置 GITEA_TOKEN 和 GITEA_ORGANIZATION")
environment["COMMUNITY_LIVE_GITEA"] = "true"
# 本脚本只验证仓库协议;OSS/AI 有独立测试,避免本机其他服务配置阻止启动。
environment["AI_ENABLED"] = "false"
environment["OSS_ENABLED"] = "false"
raise SystemExit(subprocess.call([
"mvn", "-q", "-Dtest=GiteaLiveTest", "-Dsurefire.failIfNoSpecifiedTests=false", "test"
], cwd=root, env=environment))