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:

  1. .gitlab-ci.yml — Pipeline configuration
  2. Dockerfile — Container build instructions
  3. docker-compose.yml — Local development setup