Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何从1.9.1 版本升级到2.1.0版本呢? #4974

Closed
edisenwangK opened this issue Sep 18, 2023 · 4 comments
Closed

如何从1.9.1 版本升级到2.1.0版本呢? #4974

edisenwangK opened this issue Sep 18, 2023 · 4 comments
Labels

Comments

@edisenwangK
Copy link

rt

@dosubot
Copy link

dosubot bot commented Sep 18, 2023

🤖

要从Apollo 1.9.1版本升级到2.1.0版本,您需要按照以下步骤操作:

  1. 在Apollo工程下全文替换版本号,例如从1.9.1-SNAPSHOT升级到2.1.0。在替换过程中,一定要注意非版本号的地方替换。

  2. 撰写发布报告。两个版本之间的每一个PR都会记录在CHANGES.md里,所以撰写发布报告只需要从CHANGES.md里提取即可。在这个上下文中,您可以参考changes/changes-2.1.0.md文件来了解2.1.0版本的所有更改。

  3. 进行版本验证,包括新引入的代码变更验证,例如新功能、bugfix,Apollo核心主流程验证,包括:配置发布,动态推送,灰度推送等,以及升级过程验证,包括:经典部署模式、docker模式、k8s模式。

  4. 执行数据库升级脚本。在升级到2.1.0版本的过程中,需要执行一些数据库升级脚本,以便将数据库从2.0.0版本升级到2.1.0版本。这些脚本包括创建新的索引,添加新的列,以及创建新的表。具体的脚本可以在上下文中的apolloconfigdb-v200-v210.sql文件中找到。

  5. 版本发布,包括打tag,打包,创建pre-release,预发布Apollo-Client Jar包,版本发布PMC投票,正式发布Apollo-Client Jar到仓库,发布Docker镜像,更新helm chart。

  6. 发布公告。

具体的操作步骤和命令可以参考上下文中的详细说明。

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@nobodyiam
Copy link
Member

Detailed upgrade instructions can be found in the release notes.

@stale
Copy link

stale bot commented Oct 20, 2023

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 20, 2023
@stale
Copy link

stale bot commented Oct 28, 2023

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants