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.
html-lint
Docker image
Update the This issue is to track the work for upgrading the html-lint
image.
-
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
-
-
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 ingitlab-docs
: -
Update the the
image
entries in the upstream projects (search forlint-html
):-
GitLab (https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/ci/docs.gitlab-ci.yml) -
Omnibus GitLab (https://gitlab.com/gitlab-org/omnibus-gitlab/-/blob/master/gitlab-ci-config/gitlab-com.yml) -
GitLab Runner (https://gitlab.com/gitlab-org/gitlab-runner/-/blob/main/.gitlab/ci/test.gitlab-ci.yml) -
GitLab Chart (https://gitlab.com/gitlab-org/charts/gitlab/-/blob/master/.gitlab-ci.yml) -
GitLab Operator (https://gitlab.com/gitlab-org/cloud-native/gitlab-operator/-/blob/master/.gitlab-ci.yml)
-