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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
6995c8d6
Commit
6995c8d6
authored
Dec 05, 2018
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gitlab:geo:check rake task
parent
60fb3ff6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletion
+25
-1
ee/changelogs/unreleased/mk-fix-gitlab-geo-check-task.yml
ee/changelogs/unreleased/mk-fix-gitlab-geo-check-task.yml
+5
-0
ee/lib/tasks/gitlab/check.rake
ee/lib/tasks/gitlab/check.rake
+1
-1
ee/spec/tasks/gitlab/check_rake_spec.rb
ee/spec/tasks/gitlab/check_rake_spec.rb
+19
-0
No files found.
ee/changelogs/unreleased/mk-fix-gitlab-geo-check-task.yml
0 → 100644
View file @
6995c8d6
---
title
:
Fix gitlab:geo:check rake task
merge_request
:
8714
author
:
type
:
fixed
ee/lib/tasks/gitlab/check.rake
View file @
6995c8d6
...
...
@@ -4,7 +4,7 @@ namespace :gitlab do
namespace
:geo
do
desc
'GitLab | Check Geo configuration and dependencies'
task
check: :gitlab_environment
do
SystemCheck
::
Geo
.
run!
SystemCheck
::
RakeTask
::
GeoTask
.
run!
end
end
end
ee/spec/tasks/gitlab/check_rake_spec.rb
0 → 100644
View file @
6995c8d6
# frozen_string_literal: true
require
'rake_helper'
describe
'EE check.rake'
do
before
do
Rake
.
application
.
rake_require
'ee/lib/tasks/gitlab/check'
,
[
Rails
.
root
.
to_s
]
stub_warn_user_is_not_gitlab
end
describe
'gitlab:check rake task'
do
it
'runs the Geo check'
do
expect
do
run_rake_task
(
'gitlab:geo:check'
)
end
.
to
output
(
/Checking Geo ... Finished/
).
to_stdout
end
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