Skip to content

Adds custom form for GAR integration settings

Rahul Chanila requested to merge 439371-integrations-form into master

What does this MR do and why?

Adds custom form for GAR integration settings

Adds new component under ee/integrations/edit/sections

Refactor the integration module to add sections

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-01-19_at_15.42.58 Screenshot_2024-02-14_at_2.41.01_pm
When integration is active: Screenshot_2024-02-14_at_2.41.21_pm

How to set up and validate locally

  1. Enable container registry in the gdk https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md#set-up-container-registry-to-display-in-ui-only

  2. Simulate a SAAS instance in local GDK

  3. In rails console enable the experiment

    Feature.enable(:gcp_artifact_registry)
  4. Visit Project > Settings > Integrations > Google Cloud Artifact registry

  5. Confirm that help text is visible & View artifacts button is not visible.

  6. Confirm that when integration is activated, View artifacts button is visible & links to Project > Deploy > Google Artifact Registry

Related to #439371 (closed)

Edited by Rahul Chanila

Merge request reports