
10/1/2020 · Chrissie Buchanan
What this post added
This post provides three tips for writing better YAML configurations for CI pipelines: 1. Utilize formatting tools and linters (like the GitLab CI lint) to ensure correct syntax and indentation. 2. Keep YAML configurations simple by including only necessary data and avoiding gratuitous indentation. 3. Reuse configuration where possible using the `include` keyword, `extends`, and anchors to maintain consistency and reduce duplication. It also highlights the availability of CI/CD pipeline templates.