Skip to content

Draft: Use shellcheck to lint script sections in ALL CI yaml files

Peter Leitzen requested to merge pl-ci-bash-check into master

What does this MR do and why?

This MR rewrites scripts/lint_templates_bash.rb to check all bash scripts in CI yaml (not only CI templates).

Refs:

Draft?

  • Get feedback
  • Rename scripts/lint_templates_bash.rb to scripts/lint_ci_script_bash.rb
  • Repurpose CI job .ci-templates:rules:shellcheck and corresponding rules
  • Update docs

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

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

Before After

How to set up and validate locally

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

Edited by Peter Leitzen

Merge request reports