GitLab CI/CD best practices for building reliable, fast pipelines. Covers pipeline structure, caching, Docker builds, environment deployments, secrets management, and advanced patterns like DAG and parent-child pipelines. Use this skill when writing or reviewing .gitlab-ci.yml configurations.
Define stages explicitly. Set retry at the default level for infrastructure failures only -- do not retry application test failures.