Contents

Chapter 1

Features

This chapter covers the core features and capabilities of CI/CD Pipeline Kit.

Features

  • Generate GitHub Actions workflows (.github/workflows/*.yml)
  • Generate GitLab CI pipelines (.gitlab-ci.yml)
  • Supports Python, Node.js, Go, and Rust project types
  • Built-in stages: lint, test, build, deploy
  • Environment-aware: generates dev, staging, and production deploy jobs
  • Docker build & push steps with configurable registry
  • Caching configured out of the box (pip, npm, cargo, go mod)
  • Secrets and environment variables handled via template placeholders
  • Validates your project config before generating
  • Python stdlib only — zero dependencies

Quick Start

bash
# 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 --docker
Chapter 2

Configuration Reference

Follow this guide to get CI/CD Pipeline Kit up and running in your environment.

Configuration Reference

Create a JSON file with these fields:

FieldTypeRequiredDescription
project_namestringYesProject name (used in workflow naming)
languagestringYespython, node, go, or rust
language_versionstringNoLanguage version (e.g., "3.11", "20")
test_commandstringNoCustom test command (auto-detected if omitted)
lint_commandstringNoCustom lint command
build_commandstringNoCustom build command
branchesarrayNoBranches to trigger CI (default: ["main"])
environmentsarrayNoDeploy environments (e.g., ["staging", "production"])
dockerobjectNoDocker config: registry, image_name, dockerfile
notificationsobjectNoSlack/email notification config
cache_enabledboolNoEnable dependency caching (default: true)
artifactsarrayNoPaths to upload as build artifacts

CLI Reference

FlagDescription
--config, -cPath to the JSON project config (required)
--platform, -pTarget platform: github or gitlab (required)
--output, -oWrite output to file instead of stdout
--dockerInclude Docker build & push steps
--validate-onlyOnly validate config, don't generate
--verbose, -vEnable debug logging
Chapter 3
🔒 Available in full product

Examples

You’ve reached the end of the free preview

Get the full CI/CD Pipeline Kit and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $29 →
📦 Free sample included — download another copy for the full product.
CI/CD Pipeline Kit v1.0.0 — Free Preview