- init_repos.sh 现在位于 agent/scripts/:AGENT_DIR / DEST_ROOT 全部按脚本位置推导,不再写死 /root/workspace/tools - 仓库已存在就 pull 到最新后继续;有未提交改动则跳过 pull(不覆盖本地改动)并继续,不再计为失败 - 部署配置搜索顺序:<两仓库父目录>/deploy.conf → scripts/deploy.conf(已 gitignore)→ /root/deploy.conf;找不到时提示从模板复制 - scripts/deploy.conf(原被 git 跟踪)改为 scripts/deploy.conf.example 模板;真身 deploy.conf 进 .gitignore (原文件里 4 个 key 均为空、只有默认 admin 密码,无密钥泄漏) - init.sh: docker 缺失时提示可先跑 scripts/init_host.sh
20 lines
305 B
Plaintext
20 lines
305 B
Plaintext
/ai-xiaocai/
|
|
/zed_agent/
|
|
node_modules/
|
|
app/test/tmp/
|
|
app/config.yml
|
|
/config.yml
|
|
.env
|
|
app/data/
|
|
data/
|
|
tasks/
|
|
skills/deps/
|
|
skills/*/.deps_installed
|
|
skills/*/__pycache__/
|
|
*.log
|
|
.DS_Store
|
|
app/server/version.json
|
|
*.apk
|
|
# 部署配置真身(含密钥,模板见 scripts/deploy.conf.example);
|
|
deploy.conf
|