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
d42857ce
Commit
d42857ce
authored
Dec 03, 2018
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run Geo check from GitLab check if enabled
parent
6ea9323e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 deletions
+31
-0
ee/changelogs/unreleased/mk-refactor-gitlab-check-rake-tasks.yml
...gelogs/unreleased/mk-refactor-gitlab-check-rake-tasks.yml
+5
-0
ee/lib/ee/system_check/rake_task/gitlab_task.rb
ee/lib/ee/system_check/rake_task/gitlab_task.rb
+24
-0
lib/system_check/rake_task/gitlab_task.rb
lib/system_check/rake_task/gitlab_task.rb
+2
-0
No files found.
ee/changelogs/unreleased/mk-refactor-gitlab-check-rake-tasks.yml
0 → 100644
View file @
d42857ce
---
title
:
Run geo check task from gitlab check
merge_request
:
8616
author
:
type
:
changed
ee/lib/ee/system_check/rake_task/gitlab_task.rb
0 → 100644
View file @
d42857ce
# frozen_string_literal: true
module
EE
module
SystemCheck
module
RakeTask
module
GitlabTask
extend
ActiveSupport
::
Concern
class_methods
do
extend
::
Gitlab
::
Utils
::
Override
override
:subtasks
def
subtasks
existing
=
super
existing
<<
::
SystemCheck
::
RakeTask
::
GeoTask
if
::
Gitlab
::
Geo
.
enabled?
existing
end
end
end
end
end
end
lib/system_check/rake_task/gitlab_task.rb
View file @
d42857ce
...
...
@@ -31,3 +31,5 @@ module SystemCheck
end
end
end
SystemCheck
::
RakeTask
::
GitlabTask
.
prepend
(
EE
::
SystemCheck
::
RakeTask
::
GitlabTask
)
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