Generate a CI/CD pipeline specification for a game project
Generates comprehensive CI/CD pipeline specifications for game projects with platform matrix, caching strategies, and deployment workflows.
/plugin marketplace add sponticelli/gamedev-claude-plugins/plugin install devops@gamedev-claude-pluginsGenerate a comprehensive CI/CD pipeline specification tailored to the project's needs.
Before generating, understand:
# CI/CD Pipeline Specification: [Project Name]
## Overview
**CI Platform:** [Platform]
**Engine:** [Engine]
**Platforms:** [Target platforms]
**Workflow:** [Branching strategy]
## Pipeline Triggers
| Event | Pipeline | Purpose |
|-------|----------|---------|
| Push to main | Full build + deploy | Production releases |
| Pull request | Quick build + tests | PR validation |
| Tag v*.*.* | Release pipeline | Version releases |
| Schedule (nightly) | Full test suite | Comprehensive testing |
| Manual | Deploy to [env] | On-demand deployment |
## Pipeline Stages
### Stage 1: Validation
**Duration:** ~2-3 minutes
**Runs on:** [Runner type]
```yaml
steps:
- lint
- format-check
- license-check
Duration: ~[X] minutes Runs on: [Runner type]
| Platform | Runner | Artifacts |
|---|---|---|
| Windows | windows-latest | game-win64.zip |
| macOS | macos-latest | game-osx.dmg |
| Linux | ubuntu-latest | game-linux.tar.gz |
| WebGL | ubuntu-latest | game-webgl.zip |
Duration: ~[X] minutes
parallel:
- unit-tests
- integration-tests
Environments: [dev, staging, production]
conditions:
- dev: auto on develop
- staging: auto on main
- production: manual approval
| Cache | Key Pattern | Size Estimate |
|---|---|---|
| Unity Library | unity-${{ hashFiles('**/Packages/') }} | ~2GB |
| node_modules | npm-${{ hashFiles('**/package-lock.json') }} | ~500MB |
| Secret | Purpose | Scope |
|---|---|---|
| STEAM_USERNAME | Steam deployment | deploy jobs |
| SIGNING_CERT | Code signing | build jobs |
| Environment | URL | Protection |
|---|---|---|
| Development | dev.example.com | None |
| Staging | staging.example.com | None |
| Production | example.com | Required reviewers |
| Metric | Target |
|---|---|
| PR feedback | < 10 minutes |
| Full build | < 30 minutes |
| Deploy time | < 5 minutes |
| Resource | Monthly Estimate |
|---|---|
| CI minutes | $[X] |
| Storage | $[X] |
| Runners | $[X] |
Generate the pipeline specification based on the project context provided.