Skip to content

Clean up yaml lint warnings

Marcel Amirault requested to merge cleanup-yaml-warnings into master

What does this MR do and why?

Over time minor yamllint warnings slowly build up in our various yaml files. Mostly pipeline config, CI/CD templates, and deprecation/removal yaml files. It's almost all related to # comment spacing or indentation. It's not problematic, but where there is an actual error, it can be hard to scan through all the warnings to find the real error. For example: https://gitlab.com/gitlab-org/gitlab/-/jobs/4258144440

This MR just cleans up all the warnings, which I do every 4-6 months or so.

Here is the lint-yaml job for this MR, post-cleanup: https://gitlab.com/gitlab-org/gitlab/-/jobs/4259303566

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

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

MR acceptance checklist

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

Edited by Marcel Amirault

Merge request reports

Loading