02月28, 2024

Gitlab 升级指南

很久没有更新开发服务器了,上次购买了5年之后,也是后半段不怎么折腾了,年前趁活动续费了五年,那么很多停留在几年前的服务和组件都需要上级了。

其中比较麻烦的是Gitlab,他是不可以从低版本直接升级到最新版的,需要遵循一定的升级路线。

官网给出了升级指南:

https://docs.gitlab.com/ee/update/

这里列出来版本变更路线。

When upgrading:

  • Find where your version sits in the upgrade path:

    • GitLab 14: 14.0.12 > 14.3.6 > 14.9.5 > 14.10.5.
    • GitLab 15: 15.0.5 > 15.1.6 (for GitLab instances with multiple web nodes) > 15.4.6 > 15.11.13.
    • GitLab 16: 16.0.8 (only instances with lots of users or large pipeline variables history) > 16.1.6 (instances with NPM packages in their package registry) > 16.2.9 (only instances with large pipeline variables history) > 16.3.7 > 16.7.z > latest 16.Y.Z.
  • Check for required upgrade stops.

  • Consult the version-specific upgrade instructions.

  • Upgrade GitLab accordingly.

本文链接:https://blog.zkit.org/post/gitlab-update.html

-- EOF --

Comments