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
Boxiang Sun
gitlab-ce
Commits
f8036ec9
Commit
f8036ec9
authored
Feb 10, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove sqlite check in raketask
parent
10aa99a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+0
-18
No files found.
lib/tasks/gitlab/check.rake
View file @
f8036ec9
...
@@ -90,24 +90,6 @@ namespace :gitlab do
...
@@ -90,24 +90,6 @@ namespace :gitlab do
end
end
end
end
def
check_database_is_not_sqlite
print
"Database is SQLite ... "
database_config_file
=
Rails
.
root
.
join
(
"config"
,
"database.yml"
)
unless
File
.
read
(
database_config_file
)
=~
/adapter:\s+sqlite/
puts
"no"
.
green
else
puts
"yes"
.
red
puts
"Please fix this by removing the SQLite entry from the database.yml"
.
blue
for_more_information
(
"https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL"
,
see_database_guide
)
fix_and_rerun
end
end
def
check_gitlab_config_exists
def
check_gitlab_config_exists
print
"GitLab config exists? ... "
print
"GitLab config exists? ... "
...
...
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