Allows enabling gcp feature flag per project
What does this MR do and why?
Adds menu entry for Google Artifact registry (!140086 - merged) added a feature flag gcp_artifact_registy
There is a bug in the way it is implemented where the feature flag does not have the right project context. This means that setting the feature flag per project is not respected.
This MR aims to fix this issue
Feature flag issue: [Feature flag] Enable `gcp_artifact_registry` (#435673 - closed)
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
N/A
How to set up and validate locally
-
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
-
Simulate a SAAS instance in local GDK
-
In rails console enable the experiment for a project
Feature.enable(:gcp_artifact_registry, Project.find(<project-id>))
-
Visit
Project > Deploy > Google Artifact registry
Related to #425154 (closed)