docs: TOOLS.md 更新 gis-actions 名称、v2.0.8 URL、registry 凭据、已知问题
This commit is contained in:
+10
-13
@@ -33,15 +33,12 @@ agc suites list
|
||||
### 安装本地执行器
|
||||
|
||||
```bash
|
||||
# 安装 worker
|
||||
wget -O agentgis-worker.deb https://git.mercator.cn/api/packages/SuiteHub/generic/gis-actions/v2.0.0-alpha/agentgis-worker_2.0.0-alpha_all.deb
|
||||
sudo dpkg -i agentgis-worker.deb
|
||||
# 安装 gis-actions
|
||||
curl -OJ https://git.mercator.cn/api/packages/SuiteHub/generic/gis-actions/2.0.8/gis-actions_2.0.8_all.deb
|
||||
sudo dpkg -i gis-actions_2.0.8_all.deb
|
||||
|
||||
# 配置 Docker Registry 认证
|
||||
echo "agw_readonly_2026" | docker login registry.mercator.cn -u agentgis-worker --password-stdin
|
||||
|
||||
# 启动 worker
|
||||
sudo systemctl start agentgis-worker
|
||||
```
|
||||
|
||||
### 执行套件
|
||||
@@ -60,7 +57,7 @@ agc run <suite-id> --inputs '{"input_path": "/data/myfile.shp"}' --wait --poll 5
|
||||
你本地的 SHP/GeoJSON/TIFF/XLS 文件
|
||||
│
|
||||
▼
|
||||
worker(你的机器)
|
||||
gis-actions(你的机器)
|
||||
│ ← 从市场下载套件脚本包
|
||||
│ ← docker run gis-base + 套件脚本
|
||||
│ → 结果写入 /tmp/output/
|
||||
@@ -72,23 +69,23 @@ worker(你的机器)
|
||||
|
||||
```bash
|
||||
# 查看状态
|
||||
sudo systemctl status agentgis-worker
|
||||
sudo systemctl status gis-actions
|
||||
|
||||
# 查看日志
|
||||
journalctl -u agentgis-worker -f
|
||||
journalctl -u gis-actions -f
|
||||
|
||||
# 停止
|
||||
sudo systemctl stop agentgis-worker
|
||||
sudo systemctl stop gis-actions
|
||||
|
||||
# 卸载
|
||||
sudo dpkg --purge agentgis-worker
|
||||
sudo dpkg --purge gis-actions
|
||||
```
|
||||
|
||||
## 已知限制
|
||||
|
||||
| 问题 | 说明 |
|
||||
|------|------|
|
||||
| 输入文件挂载 | worker 暂未自动将输入文件挂载到容器内,需等待 Issue #6 修复 |
|
||||
| 基础镜像缺包 | gis-base 暂缺 openpyxl/xlrd,Excel 套件运行时会自动 pip install |
|
||||
| 输入文件 | shapefile 需传入目录路径而非单文件路径(因 .dbf/.shx 配套文件) |
|
||||
| 模板文件 | 含 Excel 模板的套件需确保 templates/ 目录随脚本包一起发布 |
|
||||
|
||||
详见 https://git.mercator.cn/SuiteHub/agent-profiles/issues/6
|
||||
|
||||
Reference in New Issue
Block a user