Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
d2ab95d1
Commit
d2ab95d1
authored
Sep 22, 2015
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make code block comments more verbose
parent
3e926c6e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
doc/migrate_ci_to_ce/README.md
doc/migrate_ci_to_ce/README.md
+10
-10
No files found.
doc/migrate_ci_to_ce/README.md
View file @
d2ab95d1
...
@@ -33,7 +33,7 @@ upgrade to 8.0 until you finish the migration procedure.
...
@@ -33,7 +33,7 @@ upgrade to 8.0 until you finish the migration procedure.
Make sure that the backup script on both servers can connect to the database.
Make sure that the backup script on both servers can connect to the database.
```
```
#
CI server
#
On your CI server:
# Omnibus
# Omnibus
sudo gitlab-ci-rake backup:create
sudo gitlab-ci-rake backup:create
...
@@ -45,7 +45,7 @@ sudo -u gitlab_ci -H bundle exec rake backup:create RAILS_ENV=production
...
@@ -45,7 +45,7 @@ sudo -u gitlab_ci -H bundle exec rake backup:create RAILS_ENV=production
Also check on your GitLab server.
Also check on your GitLab server.
```
```
#
GitLab server
#
On your GitLab server:
# Omnibus
# Omnibus
sudo gitlab-rake gitlab:backup:create SKIP=repositories,uploads
sudo gitlab-rake gitlab:backup:create SKIP=repositories,uploads
...
@@ -67,7 +67,7 @@ during the 'Moving data' part. **If your CI server uses PostgreSQL and your
...
@@ -67,7 +67,7 @@ during the 'Moving data' part. **If your CI server uses PostgreSQL and your
GitLab server uses MySQL you cannot migrate your CI data to GitLab 8.0.
**
GitLab server uses MySQL you cannot migrate your CI data to GitLab 8.0.
**
```
```
#
CI server
#
On your CI server:
# Omnibus
# Omnibus
sudo gitlab-ci-rake env:info
sudo gitlab-ci-rake env:info
...
@@ -77,7 +77,7 @@ sudo -u gitlab_ci -H bundle exec rake env:info RAILS_ENV=production
...
@@ -77,7 +77,7 @@ sudo -u gitlab_ci -H bundle exec rake env:info RAILS_ENV=production
```
```
```
```
#
GitLab server
#
On your GitLab server:
# Omnibus
# Omnibus
sudo gitlab-rake gitlab:env:info
sudo gitlab-rake gitlab:env:info
...
@@ -127,7 +127,7 @@ Now upgrade GitLab CI to version 8.0. If you are using Omnibus packages,
...
@@ -127,7 +127,7 @@ Now upgrade GitLab CI to version 8.0. If you are using Omnibus packages,
Disable GitLab CI after upgrading to 8.0.
Disable GitLab CI after upgrading to 8.0.
```
```
#
CI server
#
On your CI server:
# Omnibus
# Omnibus
sudo gitlab-ctl stop ci-unicorn
sudo gitlab-ctl stop ci-unicorn
sudo gitlab-ctl stop ci-sidekiq
sudo gitlab-ctl stop ci-sidekiq
...
@@ -149,7 +149,7 @@ GitLab server. On Omnibus GitLab servers you will have to add a line to
...
@@ -149,7 +149,7 @@ GitLab server. On Omnibus GitLab servers you will have to add a line to
to replace the contents of
`/home/git/gitlab/config/secrets.yml`
.
to replace the contents of
`/home/git/gitlab/config/secrets.yml`
.
```
```
#
CI server
#
On your CI server:
# Omnibus
# Omnibus
sudo gitlab-ci-rake backup:show_secrets
sudo gitlab-ci-rake backup:show_secrets
...
@@ -166,7 +166,7 @@ the command finishes it will print the path to your data export archive; you
...
@@ -166,7 +166,7 @@ the command finishes it will print the path to your data export archive; you
will need this file later.
will need this file later.
```
```
#
CI server
#
On your CI server:
# Omnibus
# Omnibus
sudo gitlab-ci-rake backup:create
sudo gitlab-ci-rake backup:create
...
@@ -198,7 +198,7 @@ Make the CI data archive discoverable for GitLab. We assume below that you
...
@@ -198,7 +198,7 @@ Make the CI data archive discoverable for GitLab. We assume below that you
store backups in the default path, adjust the command if necessary.
store backups in the default path, adjust the command if necessary.
```
```
#
GitLab server
#
On your GitLab server:
# Omnibus
# Omnibus
sudo mv /path/to/12345_gitlab_ci_backup.tar /var/opt/gitlab/backups/
sudo mv /path/to/12345_gitlab_ci_backup.tar /var/opt/gitlab/backups/
...
@@ -212,7 +212,7 @@ This step will delete any existing CI data on your GitLab server. There should
...
@@ -212,7 +212,7 @@ This step will delete any existing CI data on your GitLab server. There should
be no CI data yet because you turned CI on the GitLab server off earlier.
be no CI data yet because you turned CI on the GitLab server off earlier.
```
```
#
GitLab server
#
On your GitLab server:
# Omnibus
# Omnibus
sudo gitlab-rake ci:migrate
sudo gitlab-rake ci:migrate
...
@@ -224,7 +224,7 @@ sudo -u git -H bundle exec rake ci:migrate RAILS_ENV=production
...
@@ -224,7 +224,7 @@ sudo -u git -H bundle exec rake ci:migrate RAILS_ENV=production
#### 6. Restart GitLab
#### 6. Restart GitLab
```
```
#
GitLab server
#
On your GitLab server:
# Omnibus
# Omnibus
sudo gitlab-ctl hup unicorn
sudo gitlab-ctl hup unicorn
sudo gitlab-ctl restart sidekiq
sudo gitlab-ctl restart sidekiq
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment