Skip to content

Adds pagination for GAR list page

Rahul Chanila requested to merge 425154-gar-pagination into master

What does this MR do and why?

Adds pagination for GAR list page

Updates graphql query based on !143540 (merged)

Removes apollo local resolvers

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-02-12_at_6.17.28_pm 172.16.123.1_3000_gitlab-org_alpine_environment_-_google_cloud_platform_artifact_registry

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. Required setup for Google Cloud is described here

  5. Prepare the project with the Google Cloud Artifact Registry integration. The details on how to create a new integration are described here

  6. Visit Project > Deploy > Google Artifact registry

  7. Make sure pagination & sorting works as expected.

Related to #425154 (closed)

Edited by Rahul Chanila

Merge request reports