Skip to content

Update Archives Docker links

Sarah German requested to merge archives-lists into main

What does this MR do and why?

The list of docs site archives (https://docs.gitlab.com/archives/) pulls the list of available Docker images from the Docs container registry.

When we created the Archives website, we began building separate Archive images that include functional offline search via Lunr.js. This became available in 15.5.

So, we need to add logic to the Archives list page to provide the newer Archive images, starting with 15.5. This MR adds that capability.

Screenshots, screen recordings, or links to review app

Before After
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md.
  2. View the Archives page: http://localhost:3000/archives

The list should have Docker URLs starting with registry.gitlab.com/gitlab-org/gitlab-docs for versions before 15.5, and URLs starting with registry.gitlab.com/gitlab-org/gitlab-docs/archives for 15.5 and newer.

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports