docs: TOOLS.md 版本 3.0.2 + 删除 registry 登录 + 清理旧引用
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
## 安装
|
||||
|
||||
### agentgis-cli(命令行工具)
|
||||
### gis-actions(CLI + 执行引擎)
|
||||
|
||||
```bash
|
||||
# v0.2.0(推荐)
|
||||
pip install https://git.mercator.cn/api/packages/SuiteHub/generic/agentgis-cli/0.2.0/agentgis_cli-0.2.0.tar.gz
|
||||
curl -sLO https://git.mercator.cn/api/packages/SuiteHub/generic/gis-actions/3.0.2/gis-actions_3.0.2_all.deb
|
||||
sudo dpkg -i gis-actions_3.0.2_all.deb
|
||||
|
||||
# 查看版本
|
||||
agc --version
|
||||
@@ -21,7 +21,7 @@ pip install https://git.mercator.cn/api/packages/SuiteHub/generic/agentgis-sdk/0
|
||||
|
||||
### gis-actions(本地执行器,`agc run` 必需)
|
||||
|
||||
`agc run` 在 v0.2.0 中改为本地执行,需要 gis-actions 在本地运行:
|
||||
`agc run` 需要 gis-actions 在本地运行:
|
||||
|
||||
```bash
|
||||
# 安装依赖(Docker)
|
||||
@@ -30,11 +30,9 @@ sudo usermod -aG docker $USER
|
||||
newgrp docker
|
||||
|
||||
# 安装 gis-actions
|
||||
curl -OJ https://git.mercator.cn/api/packages/SuiteHub/generic/gis-actions/3.0.1/gis-actions_3.0.1_all.deb
|
||||
sudo dpkg -i gis-actions_3.0.1_all.deb
|
||||
curl -OJ https://git.mercator.cn/api/packages/SuiteHub/generic/gis-actions/3.0.2/gis-actions_3.0.2_all.deb
|
||||
sudo dpkg -i gis-actions_3.0.2_all.deb
|
||||
|
||||
# 登录 Docker Registry(拉取 gis-base 镜像)
|
||||
echo "agw_readonly_2026" | docker login registry.mercator.cn -u agentgis-worker --password-stdin
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
+2
-2
@@ -12,10 +12,10 @@ https://suites.mercator.cn
|
||||
|
||||
```bash
|
||||
# 下载
|
||||
curl -sLO https://git.mercator.cn/api/packages/SuiteHub/generic/gis-actions/3.0.1/gis-actions_3.0.1_all.deb
|
||||
curl -sLO https://git.mercator.cn/api/packages/SuiteHub/generic/gis-actions/3.0.2/gis-actions_3.0.2_all.deb
|
||||
|
||||
# 安装
|
||||
sudo dpkg -i gis-actions_3.0.1_all.deb
|
||||
sudo dpkg -i gis-actions_3.0.2_all.deb
|
||||
```
|
||||
|
||||
安装后可用 `agc` 命令(已内置在包中)。
|
||||
|
||||
Reference in New Issue
Block a user