From 6f76d5d1647a75bb530fa4f0320cd883986ca556 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Wed, 30 Sep 2015 19:54:56 +0530 Subject: [PATCH] CI_MIGRATION: added note about database adapters --- CI_MIGRATION.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CI_MIGRATION.md b/CI_MIGRATION.md index 606a9591..e4cdc8eb 100644 --- a/CI_MIGRATION.md +++ b/CI_MIGRATION.md @@ -4,6 +4,10 @@ Since version `8.0.0`, GitLab CI is now a part of GitLab CE. You no longer need This guide assumes that you are currently using `sameersbn/gitlab` and `sameersbn/gitlab-ci` for setting up your GitLab CE and GitLab CI requirements. +> **Note:** +> +> If your CI server and your GitLab server use the same database adapter no special care is needed. If your CI server uses MySQL and your GitLab server uses PostgreSQL you need to pass a special option in **Step 4 - Upgrade CI > Create CI backup**. **If your CI server uses PostgreSQL and your GitLab server uses MySQL you cannot migrate your CI data to GitLab `8.0`**. + ## Step 1 - Get Ready Stop your Gitlab CE and CI servers @@ -68,6 +72,8 @@ docker run -it --rm [OPTIONS] \ ### Create GitLab CI backup +*If you are converting from MySQL to PostgreSQL, add `MYSQL_TO_POSTGRESQL=1` to the end of the below command.* + ```bash docker run -it --rm [OPTIONS] \ sameersbn/gitlab-ci:8.0.2 app:rake backup:create