Skip to content

Move uri field to the base DockerImage type

Dzmitry Meshcharakou requested to merge gar-add-uri-to-docker-image-type into master

What does this MR do and why?

Move uri field to the Types::GoogleCloud::ArtifactRegistry::DockerImageType to allow Copy image path on the list page.

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

Screenshot_2024-03-01_at_20.17.38

How to set up and validate locally

  1. Required setup for Google Cloud is described here

  2. Visit http://gdk.test:3000/-/graphql-explorer and create the GraphQL request

query getGarArtifactsFromProject {
  project(fullPath: "gitlab-org/gitlab-test") {
    id
    googleCloudArtifactRegistryRepository {
      artifacts {
        nodes {
          ... on GoogleCloudArtifactRegistryDockerImage {
            uri
          }
        }
      }
    }
  }
}
Edited by Dzmitry Meshcharakou

Merge request reports