Gitlab actively updates its products including the Community Edition (CE). The easiest way to install Gitlab CE on a Linux machine is by using the package manager. To add the repository to our system, we can run the following command.
sudo apt update
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
Before we run the upgrade process, we should follow the recommendation of the version order. If not, we may end up breaking our Gitlab service. Upgrading one version to another version far greater may require upgrading from previous versions first, step by step. To check our current Gitlab version, we can visit <OUR_GITLAB_ADDRESS>/help
. The upgrade recommendation can be found HERE. Note, we are also suggested to upgrade our Gitlab regularly for security reasons.
We can get the list of available versions HERE. To apply the upgrade on our machine, we can run the following command.
sudo apt-get install gitlab-ce=<VERSION_CODE>
# for example
sudo apt-get install gitlab-ce=15.1.0-ce.0
Comments
Post a Comment