GAR integration: frontend artifact details page
This issue is to introduced the page that will display the artifact details from a Google Artifact Registry object.
This page is accessed from the list of artifacts page. See #425154 (closed).
The access to this page should be gated behind the read_gcp_artifact_registry_repository
permission.
This page should use the related graphQL query to get the artifact details. See GraphQL: get GAR artifact details query (#425150 - closed).
Here are the fields that should be displayed:
-
name
. string. -
uri
. string. -
image_size_bytes
. number. We might need to humanize this value. -
upload_time
. timestamp. -
tags
. (array of strings) -
media_type
. string. -
build_time
. timestamp. -
update_time
. timestamp.
Bonus: upon the "repository has the wrong format" error, it should display the proper message that the connected repository is not using the DOCKER
format.
This change should be gated behind the Google Artifact Registry feature flag.
Design
#425070[Wireframes_-_Detail.png]
Plan
- New Google Artifact Registry Project Integration (#425066 - closed)
- GAR Integration: Custom client class (#425147 - closed)
- GraphQL: get GAR artifacts from project (#425149 - closed)
- GraphQL: get GAR artifact details query (#425150 - closed)
- GAR Integration: Add predefined CI variables (#425153 - closed)
- GAR integration: frontend menu entry and list o... (#425154 - closed)
- Frontend: artifact details page (
👈 this issue) - GAR integration documentation (#425158 - closed)
GraphQL
Integration withDuring integration with GraphQL: get GAR artifact details query (#425150 - closed) remove line ee/app/assets/javascripts/packages_and_registries/google_artifact_registry/graphql/queries/get_artifact_details.query.graphql
from config/known_invalid_graphql_queries.yml