diff options
Diffstat (limited to 'doc/ci/update/4.1-to-4.2.md')
-rw-r--r-- | doc/ci/update/4.1-to-4.2.md | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/doc/ci/update/4.1-to-4.2.md b/doc/ci/update/4.1-to-4.2.md deleted file mode 100644 index 81394aa216e..00000000000 --- a/doc/ci/update/4.1-to-4.2.md +++ /dev/null @@ -1,47 +0,0 @@ -# Update from 4.1 to 4.2 - -## GitLab CI 4.x requires GitLab 6.3 or higher - -### 1. stop CI server - - sudo service gitlab_ci stop - -### 2. Switch to your gitlab_ci user - -``` -sudo su gitlab_ci -cd /home/gitlab_ci/gitlab-ci -``` - -### 3. get latest code - -``` -git fetch -git checkout 4-2-stable -``` - -### 4. Install libs, migrations etc - -``` -# For MySQL users -bundle install --without postgres development test --deployment - -# For Postgres users -bundle install --without mysql development test --deployment - -# Run migrations -bundle exec rake db:migrate RAILS_ENV=production -``` - -### 5. Install the new init script -As a user with sudo rights: - -``` -cd /home/gitlab_ci/gitlab-ci -sudo cp lib/support/init.d/gitlab_ci /etc/init.d/gitlab_ci -sudo chmod +x /etc/init.d/gitlab_ci -``` - -### 6. Start web application - - sudo service gitlab_ci start |