GitLab Orbit

  • Tier: Ultimate
  • Offering: GitLab Self-Managed

Index top-level group namespaces automatically

Prerequisites:

  • You must have administrator access.
  • Your instance must have a license with the Orbit feature.

To index existing and new top-level group namespaces automatically:

  1. In the left sidebar, at the bottom, select Admin.
  2. Select Orbit.
  3. Expand Orbit settings.
  4. Select Index root namespaces automatically.
  5. Select Save changes.

When you save the setting, GitLab enqueues a background job. The job enrolls top-level group namespaces that are not already enrolled or excluded by an administrator. Enrollment happens shortly afterward rather than immediately. An hourly background job also enrolls newly created top-level groups and removes enrollments for excluded groups. The hourly job acts as a safety net after direct database changes. These changes can take up to one hour. Personal namespaces are not enrolled.

When you clear Index root namespaces automatically, existing non-excluded enrollments remain. The background job does not enroll new top-level groups until you select the setting again.

Exclude top-level groups from automatic indexing

Administrators can manage exclusions regardless of whether automatic indexing is enabled:

  1. In the left sidebar, at the bottom, select Admin.
  2. Select Orbit.
  3. In Excluded groups, select Exclude group.
  4. Select a top-level group, then select Exclude.

Excluded groups are not automatically enrolled. If an excluded group is already indexed, GitLab removes its enrollment and index within a few minutes. To allow automatic enrollment again, select Remove next to the group.

This setting has no effect on GitLab.com.

View Orbit status

To view the Orbit configuration and indexing status, run:

sudo gitlab-rake gitlab:orbit:info