前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >gitlab升级

gitlab升级

原创
作者头像
陈不成i
修改2021-06-04 18:05:59
1.4K0
修改2021-06-04 18:05:59
举报
文章被收录于专栏:ops技术分享

It is considered safe to jump between patch versions and minor versions within one major version. For example, it is safe to:

  • Upgrade the patch version:
    • 8.9.0 -> 8.9.7
    • 8.9.0 -> 8.9.1
    • 8.9.2 -> 8.9.6
    • 9.5.5 -> 9.5.9
    • 10.6.3 -> 10.6.6
    • 11.11.1 -> 11.11.8
    • 12.0.4 -> 12.0.9
  • Upgrade the minor version:
    • 8.9.4 -> 8.12.3
    • 9.2.3 -> 9.5.5
    • 10.6.6 -> 10.8.7
    • 11.3.4 -> 11.11.8

Upgrading the major version requires more attention. We cannot guarantee that upgrading between major versions will be seamless. As previously mentioned, major versions are reserved for backwards incompatible changes. We recommend that you first upgrade to the latest available minor version within your major version. By doing this, you can address any deprecation messages that could change behavior in the next major release. To ensure background migrations are successful, increment by one minor version during the version jump before installing newer releases.

For example: 11.11.x -> 12.0.x Please see the table below for some examples:

Latest stable version

Your version

Recommended upgrade path

Note

9.4.5

8.13.4

8.13.4 -> 8.17.7 -> 9.4.5

8.17.7 is the last version in version 8

10.1.4

8.13.4

8.13.4 -> 8.17.7 -> 9.5.10 -> 10.1.4

8.17.7 is the last version in version 8, 9.5.10 is the last version in version 9

11.3.4

8.13.4

8.13.4 -> 8.17.7 -> 9.5.10 -> 10.8.7 -> 11.3.4

8.17.7 is the last version in version 8, 9.5.10 is the last version in version 9, 10.8.7 is the last version in version 10

12.5.8

11.3.4

11.3.4 -> 11.11.8 -> 12.0.9 -> 12.5.8

11.11.8 is the last version in version 11

我的升级路线为:表格中最后一个

每次升级直接yum -y install gitlab-ce-版本号就可以了

例如

  1. yum -y install gitlab-ce-11.11.8

每升级一次,重载一下配置,重启一下gitlab

  1. gitlab-ctl reconfigure
  2. gitlab-ctl restart

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档