Skip to content

Index users as part of indexing rake task

Madelein van Niekerk requested to merge elastic-rake-index-users into master

What does this MR do and why?

Indexes users as part of the indexing rake task rake gitlab:elastic:index because users are not indexed along with projects.

Screenshots or screen recordings

Output of rake task:

Logs when users are processed by the bookkeeping service:

How to set up and validate locally

  1. Make sure elasticsearch is running
  2. Run rake gitlab:elastic:index
  3. Check if there are documents in the index: curl http://localhost:9200/gitlab-development-users/_count should have a non-zero value for count.

Merge request reports

Loading