This chapter covers the core features and capabilities of CI/CD Pipeline Kit.
.github/workflows/*.yml).gitlab-ci.yml)# Generate a GitHub Actions workflow from the example config
python src/pipeline_generator.py --config examples/project_config.json --platform github
# Generate a GitLab CI pipeline instead
python src/pipeline_generator.py --config examples/project_config.json --platform gitlab
# Write output to a file
python src/pipeline_generator.py --config examples/project_config.json --platform github --output .github/workflows/ci.yml
# Validate config without generating
python src/pipeline_generator.py --config examples/project_config.json --validate-only
# Include Docker build steps
python src/pipeline_generator.py --config examples/project_config.json --platform github --dockerFollow this guide to get CI/CD Pipeline Kit up and running in your environment.
Create a JSON file with these fields:
| Field | Type | Required | Description |
|---|---|---|---|
project_name | string | Yes | Project name (used in workflow naming) |
language | string | Yes | python, node, go, or rust |
language_version | string | No | Language version (e.g., "3.11", "20") |
test_command | string | No | Custom test command (auto-detected if omitted) |
lint_command | string | No | Custom lint command |
build_command | string | No | Custom build command |
branches | array | No | Branches to trigger CI (default: ["main"]) |
environments | array | No | Deploy environments (e.g., ["staging", "production"]) |
docker | object | No | Docker config: registry, image_name, dockerfile |
notifications | object | No | Slack/email notification config |
cache_enabled | bool | No | Enable dependency caching (default: true) |
artifacts | array | No | Paths to upload as build artifacts |
| Flag | Description |
|---|---|
--config, -c | Path to the JSON project config (required) |
--platform, -p | Target platform: github or gitlab (required) |
--output, -o | Write output to file instead of stdout |
--docker | Include Docker build & push steps |
--validate-only | Only validate config, don't generate |
--verbose, -v | Enable debug logging |
Get the full CI/CD Pipeline Kit and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.