agentscope-ai / agentscope-ai/QwenPaw

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

Aperta
#5,196 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
35k
Fork
3.1k
Merge medio
1g 13h
PR unite (30g)
228

Descrizione

## 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.