Interview Prep/CI/CD/GitHub Actions and GitLab CI in Production

How do you structure a GitLab CI pipeline for a large organisation?

IntermediateProductionGitHub Actions and GitLab CI in Production
Answer

A central ci-templates project with versioned CI/CD components (build, test, scan, deploy), consumed through include: component:. Instance or group runners on Kubernetes with tags per pool. Pipeline execution policies (Ultimate) or compliance frameworks ensure security scans run regardless of the project's own .gitlab-ci.yml. Protected environments with approval rules for production, resource_group for serialising deploys, and merge request pipelines with merge trains for busy repos.

All CI/CD questions Roadmap: GitLab CI/CD

More on GitHub Actions and GitLab CI in Production