Install markdownlint-cli2 globally before running whitespace tests
What does this MR do and why?
The test_EOL_whitespace
job fails because markdownlint-cli2
can't be found: https://gitlab.com/gitlab-org/gitlab-docs/-/jobs/3799612147.
This ensures MR globally available for testing all the different projects.
CC @jglassman1 @msedlakjakubowski @axil @sarahgerman
How to set up and validate locally
-
Set up Docker environment. -
Run: docker run -ti --rm registry.gitlab.com/gitlab-org/gitlab-docs/lint-html:alpine-3.16-ruby-3.0.5-869cfc5d bash
-
In the Docker container, run the following: -
apk add jq
. -
bundle config set --local deployment true
. -
bundle install
. -
bundle exec rake default
. -
yarn global add markdownlint-cli2
-
make markdownlint-whitespace-tests
-
-
See tests run successfully.
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.
-
I have evaluated the MR acceptance checklist for this merge request.