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
bb6e887e
Commit
bb6e887e
authored
Mar 04, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor Elasticsearch task description updates
[ci skip]
parent
6bc4d82b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/tasks/gitlab/elastic.rake
lib/tasks/gitlab/elastic.rake
+3
-3
No files found.
lib/tasks/gitlab/elastic.rake
View file @
bb6e887e
namespace
:gitlab
do
namespace
:gitlab
do
namespace
:elastic
do
namespace
:elastic
do
desc
"GitLab | Update Elasticsearch indexes"
desc
"GitLab | Update Elasticsearch indexes"
task
index: :environment
do
task
:index
do
Rake
::
Task
[
"gitlab:elastic:index_repositories"
].
invoke
Rake
::
Task
[
"gitlab:elastic:index_repositories"
].
invoke
Rake
::
Task
[
"gitlab:elastic:index_wikis"
].
invoke
Rake
::
Task
[
"gitlab:elastic:index_wikis"
].
invoke
Rake
::
Task
[
"gitlab:elastic:index_database"
].
invoke
Rake
::
Task
[
"gitlab:elastic:index_database"
].
invoke
end
end
desc
"GitLab | Update Elasticsearch indexes for
Repository
"
desc
"GitLab | Update Elasticsearch indexes for
project repositories
"
task
index_repositories: :environment
do
task
index_repositories: :environment
do
Repository
.
__elasticsearch__
.
create_index!
Repository
.
__elasticsearch__
.
create_index!
...
@@ -54,7 +54,7 @@ namespace :gitlab do
...
@@ -54,7 +54,7 @@ namespace :gitlab do
end
end
end
end
desc
"GitLab | Update Elasticsearch indexes for
Wiki
"
desc
"GitLab | Update Elasticsearch indexes for
wiki repositories
"
task
index_wikis: :environment
do
task
index_wikis: :environment
do
ProjectWiki
.
__elasticsearch__
.
create_index!
ProjectWiki
.
__elasticsearch__
.
create_index!
...
...
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