Skip to content

Update the html-lint Docker image

Why

https://gitlab.slack.com/archives/C0GQHHPGW/p1711549368042999 is failing due to a missing SVG in the current copy of the https://gitlab.com/gitlab-org/gitlab-svgs repository. The error:

ArgumentError: partner-verified is not a known icon in @gitlab-org/gitlab-svg
926lib/helpers/icons_helper.rb:22:in `icon':
partner-verified is not a known icon in @gitlab-org/gitlab-svg (ArgumentError)

To fix this, we need to update the html-lint Docker image to include a newer release of the SVG repository.

Update the html-lint Docker image

This issue is to track the work for upgrading the html-lint image.

  1. Run the Build docker images manually scheduled pipeline, and run the following manual job after its test passes (you may cancel the irrelevant tests):

    • image:docs-lint-html
  2. After the new image is built, get its name from the job that built it, and make sure it works as expected by first updating the relevant image entries in gitlab-docs:

  3. Update the the image entries in the upstream projects (search for lint-html):

Edited by Amy Qualls