Skip to content

Instantly share code, notes, and snippets.

@UbuntuEvangelist
Last active March 12, 2019 13:38
Show Gist options
  • Save UbuntuEvangelist/ed6ecc04f600b0cc47102909f140a759 to your computer and use it in GitHub Desktop.
Save UbuntuEvangelist/ed6ecc04f600b0cc47102909f140a759 to your computer and use it in GitHub Desktop.
GitLab Update To Latest
#!/bin/sh
sudo wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab-ce_7.10.4~omnibus-1_amd64.deb
sudo chmod 777 gitlab-ce_7.10.4~omnibus-1_amd64.deb
sudo touch /etc/gitlab/skip-auto-migrations
sudo dpkg -i gitlab-ce_7.10.4~omnibus-1_amd64.deb
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
sudo wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce_8.2.0-ce.0_amd64.deb/download.deb
sudo chmod 777 gitlab-ce_8.2.0-ce.0_amd64.deb
sudo touch /etc/gitlab/skip-auto-migrations
sudo dpkg -i gitlab-ce_8.2.0-ce.0_amd64.deb
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
sudo wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce_8.11.0-ce.1_amd64.deb/download.deb
sudo chmod 777 gitlab-ce_8.11.0-ce.1_amd64.deb
sudo touch /etc/gitlab/skip-auto-migrations
sudo dpkg -i gitlab-ce_8.11.0-ce.1_amd64.deb
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
sudo wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce_8.15.0-ce.0_amd64.deb/download.deb
sudo chmod 777 gitlab-ce_8.15.0-ce.0_amd64.deb
sudo dpkg -i gitlab-ce_8.15.0-ce.0_amd64.deb
sudo touch /etc/gitlab/skip-auto-migrations
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
sudo wget --content-disposition - https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce_9.5.8-ce.0_amd64.deb/download.deb
sudo chmod 777 gitlab-ce_9.5.8-ce.0_amd64.deb
sudo touch /etc/gitlab/skip-auto-migrations
sudo dpkg -i gitlab-ce_9.5.8-ce.0_amd64.deb
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
sudo wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce_10.1.0-ce.0_amd64.deb/download.deb
sudo chmod 777 gitlab-ce_10.1.0-ce.0_amd64.deb
sudo touch /etc/gitlab/skip-auto-migrations
sudo dpkg -i gitlab-ce_10.1.0-ce.0_amd64.deb
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
sudo wget --content-disposition - https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce_10.6.4-ce.0_amd64.deb/download.deb
sudo chmod 777 gitlab-ce_10.6.4-ce.0_amd64.deb
sudo touch /etc/gitlab/skip-auto-migrations
sudo dpkg -i gitlab-ce_10.6.4-ce.0_amd64.deb
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
gitlab-rake gitlab:env:info
ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment