Skip to content

Add devops adoption to registration features

Taras Tadai requested to merge 367093-add-devops-adoption-to-reg-features into master

What does this MR do and why?

We want to add DevOps Adoption to Registration features available to users who have service ping data sharing enabled.

Screenshots or screen recordings

Before After
enable_reg_features_off enable_reg_features_on
devops_adoption_off devops_adoption_on
devops_adoption_off2
devops_adoption_admin_reports_off devops_adoption_admin_reports_on

How to set up and validate locally

  1. Testing previous behavior:
    • Make sure you're on a Ultimate plan GitLab GDK instance
    • Select some group
      • Select Analytics -> DevOps Adoption in sidebar.
      • Make sure you see report page.
    • Goto Admin Area -> Analytics -> DevOps Reports
      • Make sure you see adoption report (see screenshot for example).
  2. When registration features are enabled:
    • Make sure you're on a free plan GitLab GDK instance (for example, remove current license or stub #current to return nil)
    • Make sure you have the Registration Features checkbox enabled (Admin -> Settings -> Metrics and profiling -> Usage statistics -> Enable Service Ping & Enable Registration Features)
    • Select some group
      • Select Analyze -> DevOps adoption in sidebar.
      • Make sure you see report page.
    • Goto Admin Area -> Analytics -> DevOps Reports
      • Make sure you see adoption report (see screenshot for example).
  3. When registration features are disabled:
    • Make sure you're on a free plan GitLab GDK instance
    • Make sure you have the registration features checkbox disabled (Admin -> Settings -> Metrics and profiling -> Usage statistics -> Enable Registration Features)
    • Select some group
      • Make sure you don't see Analyze -> DevOps in sidebar.
    • Goto Admin Area -> Analytics -> DevOps Reports
      • Make sure you don't see adoption report(see screenshot for example).
  4. Make sure that the new text appears on the docs page:
    • run gdk restart gitlab-docs
    • go to <local_gitlab_docs_host>/ee/user/admin_area/settings/usage_statistics.html#registration-features-program and make sure the new section is on the page and the link works
Updated doc Link page
devops_adoption_docs devops_adoption_docs2

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #367093 (closed)

Edited by Max Fan

Merge request reports