Skip to content

Adds show route for google artifact registry

Rahul Chanila requested to merge 425157-artifact-registry-show-route into master

What does this MR do and why?

Adds show route with custom URL for google artifact registry

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

  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 > Deploy > Google Artifact registry

  5. Append projects/dev-package-container-96a3ff34/locations/us-east1/repositories/myrepo/dockerImages/alpine@sha256:6a0657acfef760bd9e293361c9b558e98e7d740ed0dffca823d17098a4ffddf5 to the URL

  6. Confirm that 404 page is not displayed, and the index template is rendered

Related to #425157 (closed)

Edited by Rahul Chanila

Merge request reports