跨域配置和fork修改为git原生fork
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user