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.
More on GitHub Actions and GitLab CI in Production
How do you organise reusable workflows for an organisation on GitHub?IntermediateHow do you reduce GitHub Actions minutes cost on private repos?IntermediateHow do you secure self-hosted runners?AdvancedHow do you design the GitHub Actions OIDC trust policy for AWS safely?AdvancedHow do you handle approvals and deployments across environments in GitHub Actions?IntermediateHow do you handle required checks when workflows use path filters or matrices?Advanced