summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytse@gitlab.com>2015-05-14 07:42:55 +0000
committerSytse Sijbrandij <sytse@gitlab.com>2015-05-14 07:42:55 +0000
commitda8c9887459f53401ff575ad49de54c05963cb2c (patch)
tree0c428738d2eec2ed4c972ed4a90955488df3969d
parent8d18c71390db49d670eb027a04a1dcd061ff18b1 (diff)
parentc2f1ce59ffe6aedbf8c3e63bd7ec6ac3b6a8f13c (diff)
downloadgitlab-ci-da8c9887459f53401ff575ad49de54c05963cb2c.tar.gz
Merge branch 'doc_migration_to_omnibus' into 'master'
Doc: Migrating to packaged CI https://dev.gitlab.org/gitlab/gitlab-ci/issues/116 See merge request !100
-rw-r--r--doc/README.md1
-rw-r--r--doc/migration_to_omnibus/README.md29
2 files changed, 30 insertions, 0 deletions
diff --git a/doc/README.md b/doc/README.md
index a3e86c1..a300654 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -8,3 +8,4 @@
+ [Runners](runners/README.md)
+ [Permissions](permissions/README.md) User permissions
+ [Rake Tasks](raketasks/README.md) Backup and restore take tasks
++ [Migrating to packaged CI](migration_to_omnibus/README.md)
diff --git a/doc/migration_to_omnibus/README.md b/doc/migration_to_omnibus/README.md
new file mode 100644
index 0000000..ae46f59
--- /dev/null
+++ b/doc/migration_to_omnibus/README.md
@@ -0,0 +1,29 @@
+## Migrating to packaged CI
+
+Since version 5.1 GitLab CI is shipping as part of the GitLab omnibus package. This guide describes how to migrate GitLab CI from a source installation to an Omnibus package.
+
+### 1. Update GitLab
+
+Update GitLab CI manually to the version that you will install using the omnibus package (at least 7.11). Follow the update [manual for installation from sourse](update/README.md)
+
+### 2. Backup
+
+```
+sudo -u gitlab_ci -H bundle exec rake backup:create RAILS_ENV=production
+```
+
+This command will create a backup file in the tmp folder
+(`/home/gitlab_ci/gitlab_ci/tmp/backups/*_gitlab_ci_backup.tar.gz`). You can read more in the [GitLab CI backup/restore documentation](https://gitlab.com/gitlab-org/gitlab-ci/blob/master/doc/raketasks/backup_restore.md)
+
+### 2. Install a packaged GitLab CI
+
+This process is described in the [instruction for enabling GitLab CI](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/gitlab-ci/README.md)
+
+### 4. Restore backup
+
+Put backup file to directory `/var/opt/gitlab/backups`.
+Run the restore command:
+
+```
+sudo gitlab-ci-rake backup:restore
+```