CI/CD Overview¶
All KMG projects use GitLab CI/CD with a standardized pipeline structure.
Pipeline Stages¶
Every project pipeline should include these stages:
stages:
- lint
- test
- build
- scan
- notify
| Stage | Purpose |
|---|---|
| lint | Code style and static analysis |
| test | Run automated test suites |
| build | Build Docker images |
| scan | Container security scanning |
| notify | Send notifications (Slack/Teams) |
Feature Toggles¶
Control which stages run via CI/CD variables:
variables:
LINT_ENABLED: "true"
TEST_ENABLED: "true"
SCAN_ENABLED: "true"
Runner Tags¶
KMG projects use specific runners:
| Tag | Purpose |
|---|---|
wue-build-l01 |
Default build runner |
Required Files¶
Every project must have:
.gitlab-ci.yml— Pipeline configurationDockerfile— Container build instructionsdocker-compose.yml— Local development setup