GitLab版本升级
- 先备份gitlab
gitlab-rake gitlab:backup:create
生成的备份文件在:/var/opt/gitlab/backups/下,格式如:1537856454_gitlab_backup.tar
- 如果要恢复时间戳为1537856454的备份
gitlab-rake gitlab:backup:restore BACKUP=1537856454
- 升级到11.9.1(当前11.0.4)
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-11.9.1-ce.0.el7.x86_64.rpm
rpm -Uvh gitlab-ce-11.9.1-ce.0.el7.x86_64.rpm