BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8abdabdb
Commit
8abdabdb
authored
Feb 07, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jej-fix-backup-rake-color' into 'master'
Fixed backup.rake colorize method following Pages -> CE See merge request !9031
parents
ff4950b7
b39421bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
backup.rake
lib/tasks/gitlab/backup.rake
+6
-6
No files found.
lib/tasks/gitlab/backup.rake
View file @
8abdabdb
...
...
@@ -57,7 +57,7 @@ namespace :gitlab do
Rake
::
Task
[
'gitlab:backup:uploads:restore'
].
invoke
unless
backup
.
skipped?
(
'uploads'
)
Rake
::
Task
[
'gitlab:backup:builds:restore'
].
invoke
unless
backup
.
skipped?
(
'builds'
)
Rake
::
Task
[
'gitlab:backup:artifacts:restore'
].
invoke
unless
backup
.
skipped?
(
'artifacts'
)
Rake
::
Task
[
"gitlab:backup:pages:restore"
].
invoke
unless
backup
.
skipped?
(
"pages"
)
Rake
::
Task
[
"gitlab:backup:pages:restore"
].
invoke
unless
backup
.
skipped?
(
'pages'
)
Rake
::
Task
[
'gitlab:backup:lfs:restore'
].
invoke
unless
backup
.
skipped?
(
'lfs'
)
Rake
::
Task
[
'gitlab:backup:registry:restore'
].
invoke
unless
backup
.
skipped?
(
'registry'
)
Rake
::
Task
[
'gitlab:shell:setup'
].
invoke
...
...
@@ -163,20 +163,20 @@ namespace :gitlab do
namespace
:pages
do
task
create: :environment
do
$progress
.
puts
"Dumping pages ... "
.
blue
$progress
.
puts
"Dumping pages ... "
.
color
(
:blue
)
if
ENV
[
"SKIP"
]
&&
ENV
[
"SKIP"
].
include?
(
"pages"
)
$progress
.
puts
"[SKIPPED]"
.
c
yan
$progress
.
puts
"[SKIPPED]"
.
c
olor
(
:cyan
)
else
Backup
::
Pages
.
new
.
dump
$progress
.
puts
"done"
.
green
$progress
.
puts
"done"
.
color
(
:green
)
end
end
task
restore: :environment
do
$progress
.
puts
"Restoring pages ... "
.
blue
$progress
.
puts
"Restoring pages ... "
.
color
(
:blue
)
Backup
::
Pages
.
new
.
restore
$progress
.
puts
"done"
.
green
$progress
.
puts
"done"
.
color
(
:green
)
end
end
...
...
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