agentscope-ai / agentscope-ai/QwenPaw

[Feature]: Docker部署的版本升级能力优化

Offen
#5,196 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
34.9k
Forks
3.1k
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
225

Beschreibung

## Summary

当前通过Docker/docker-ompose部署的,想要版本升级就通过docker-conpose pull \ docker-compose up;但是,这个方式会导致运行时配置和对容器内环境的修改全部丢失,包括但不限于API key、ModelInfo、apt install {something}、.bashrc。
If the current version is deployed using Docker or docker-compose, you can run docker-conose pull and docker-compose up to upgrade the version. However, this method will cause all runtime configurations and modifications to the container environment to be lost, including but not limited to API keys, ModelInfo, apt install {something}, and.bashrc.

## Component(s) Affected

- [ ] Core / Backend (app, agents, config, providers, utils, local_models)
- [ ] Console (frontend web UI)
- [ ] Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
- [ ] Skills
- [ ] CLI
- [ ] Documentation (website)
- [ ] Tests
- [ ] CI/CD
- [X] Scripts / Deploy

## Problem / Motivation

版本升级不影响运行时配置
The version upgrade does not affect the runtime configuration.

## Proposed Solution

添加脚本upgrade.py;自动检查当前最新版本;然后通过git拉取最新代码安装 或者 apt install qwenpaw。
Add the upgrade.py script, automatically check the latest version, and then use git to pull the latest code for installation or use apt install qwenpaw.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.