2 ms·
There is some linting available: https://docs.gitlab.com/ee/ci/yaml/lint.html https://docs.gitlab.com/ee/ci/yaml/lint.html Personally I'd move as much logic o
by pabs3 2y ago
There is some linting available:
https://docs.gitlab.com/ee/ci/yaml/lint.html https://docs.gitlab.com/ee/ci/yaml/lint.html
Personally I'd move as much logic out of the YAML as possible into either pure shell scripts or scripts in other languages. Then use shellcheck other appropriate linters for those scripts.
Maybe one day someone will write a proper linter for the shell-wrapped-in-yaml insanity that are these CI systems, but it seems unlikely.