{
    "url": "https://delaparra-services.nl/skills/deployment-pipeline-design",
    "locale": "en",
    "title": "Deployment Pipeline Design | DeLaParra Services",
    "description": "Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pipelines, implementing canary rollout strategies, setting up multi-environment promotion workflows, or debugging failed deployment gates in CI/CD.",
    "alternates": {
        "en": "https://delaparra-services.nl/skills/deployment-pipeline-design",
        "nl": "https://delaparra-services.nl/nl/skills/deployment-pipeline-design"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/skills/deployment-pipeline-design.csv",
        "md": "https://delaparra-services.nl/skills/deployment-pipeline-design.md",
        "json": "https://delaparra-services.nl/skills/deployment-pipeline-design.json",
        "zip": "https://delaparra-services.nl/skills/deployment-pipeline-design.zip",
        "pdf": "https://delaparra-services.nl/skills/deployment-pipeline-design.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/skills/deployment-pipeline-design.csv",
            "encodingFormat": "text/csv",
            "name": "deployment-pipeline-design.csv"
        },
        {
            "url": "https://delaparra-services.nl/skills/deployment-pipeline-design.json",
            "encodingFormat": "application/json",
            "name": "deployment-pipeline-design.json"
        },
        {
            "url": "https://delaparra-services.nl/skills/deployment-pipeline-design.md",
            "encodingFormat": "text/markdown",
            "name": "deployment-pipeline-design.md"
        },
        {
            "url": "https://delaparra-services.nl/skills/deployment-pipeline-design.pdf",
            "encodingFormat": "application/pdf",
            "name": "deployment-pipeline-design.pdf"
        },
        {
            "url": "https://delaparra-services.nl/skills/deployment-pipeline-design.zip",
            "encodingFormat": "application/zip",
            "name": "deployment-pipeline-design.zip"
        },
        {
            "url": "https://delaparra-services.nl/skills/deployment-pipeline-design/download",
            "encodingFormat": "application/zip",
            "name": "deployment-pipeline-design-files.zip"
        }
    ],
    "markdown": "# Deployment Pipeline Design\n\n \n\nDesign multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pipelines, implementing canary rollout strategies, setting up multi-environment promotion workflows, or debugging failed deployment gates in CI/CD.\n\n \n\n**Licence** MIT\n\n \n\n**Source** wshobson/agents\n\n [Download zip](<https://delaparra-services.nl/skills/deployment-pipeline-design/download>)   \n\n# Deployment Pipeline Design\n\n \n\nArchitecture patterns for multi-stage CI/CD pipelines with approval gates, deployment strategies, and environment promotion workflows.\n\n \n\n## Purpose\n\n \n\nDesign robust, secure deployment pipelines that balance speed with safety through proper stage organization, automated quality gates, and progressive delivery strategies. This skill covers both the structural design of pipeline architecture and the operational patterns for reliable production deployments.\n\n \n\n## Input / Output\n\n \n\n### What You Provide\n\n \n\n- **Application type**: Language/runtime, containerized or bare-metal, monolith or microservices \n- **Deployment target**: Kubernetes, ECS, VMs, serverless, or platform-as-a-service \n- **Environment topology**: Number of environments (dev/staging/prod), region layout, air-gap requirements \n- **Rollout requirements**: Acceptable downtime, rollback SLA, traffic splitting needs, canary vs blue-green preference \n- **Gate constraints**: Approval teams, required test coverage thresholds, compliance scans (SAST, DAST, SCA) \n- **Monitoring stack**: Prometheus, Datadog, CloudWatch, or other metrics sources used for automated promotion decisions\n\n \n\n### What This Skill Produces\n\n \n\n- **Pipeline configuration**: Stage definitions, job dependencies, parallelism, and caching strategy \n- **Deployment strategy**: Chosen rollout pattern with annotated configuration (canary weights, blue-green switchover, rolling parameters) \n- **Health check setup**: Shallow vs deep readiness probes, post-deployment smoke test scripts \n- **Gate definitions**: Automated metric thresholds and manual approval workflows \n- **Rollback plan**: Automated rollback triggers and manual runbook steps\n\n \n\n## When to Use\n\n \n\n- Design CI/CD architecture for a new service or platform migration \n- Implement deployment gates between environments \n- Configure multi-environment pipelines with mandatory security scanning \n- Establish progressive delivery with canary or blue-green strategies \n- Debug pipelines where stages succeed but production behavior is wrong \n- Reduce mean time to recovery by automating rollback on metric degradation\n\n \n\n## Detailed patterns and worked examples\n\n \n\nDetailed pattern documentation lives in ` references/details.md `. Read that file when the navigation tier above is insufficient.\n\n \n\n## Troubleshooting\n\n \n\n### Health check passes in pipeline but service is unhealthy in production\n\n \n\nThe pipeline health check is hitting a shallow ` /ping ` endpoint that returns 200 even when the database is unreachable. Use a deep readiness check that verifies actual dependencies (see Health Checks section above).\n\n \n\n### Canary deployment never promotes to 100%\n\n \n\nArgo Rollouts requires a valid ` AnalysisTemplate ` to auto-promote. If the Prometheus query returns no data (e.g., metric name changed), the analysis stays inconclusive and promotion stalls. Add ` inconclusiveLimit ` so the rollout fails fast rather than hanging:\n\n \n\n```\nspec:\n  metrics:\n  - name: error-rate\n    failureCondition: \"result[0] > 0.05\"\n    inconclusiveLimit: 2   # fail after 2 inconclusive results, not hang indefinitely\n    provider:\n      prometheus:\n        query: |\n          sum(rate(http_requests_total{status=~\"5..\"}[2m]))\n          / sum(rate(http_requests_total[2m]))\n```\n\n \n\n### Staging deploy succeeds but production job never starts\n\n \n\nCheck that production environment protection rules are configured — a missing reviewer assignment means the approval gate waits indefinitely with no notification. In GitHub Actions, ensure ` Required reviewers ` is set to an existing user or team in **Settings → Environments → production**.\n\n \n\n### Docker layer cache busted on every run causing slow builds\n\n \n\nIf ` COPY . . ` appears before dependency installation, any source file change invalidates the dependency layer. Reorder to copy dependency manifests first:\n\n \n\n```\n# Good: dependencies cached separately from source code\nCOPY package*.json ./\nRUN npm ci\nCOPY . .\nRUN npm run build\n```\n\n \n\n### Rollback leaves database migrations applied to old code\n\n \n\nA service rollback without a migration rollback causes schema/code mismatch errors. Always make migrations backward-compatible (additive only) for at least one release cycle, and keep undo scripts versioned alongside the migration:\n\n \n\n```\n# migrations/V20240315__add_nullable_column.sql       (forward)\n# migrations/V20240315__add_nullable_column.undo.sql  (backward)\n```\n\n \n\nNever run destructive migrations (DROP COLUMN, ALTER NOT NULL) until the old code version is fully retired from all environments.\n\n \n\n## Advanced Topics\n\n \n\nFor platform-specific pipeline configurations, multi-region promotion workflows, and advanced Argo Rollouts patterns, see:\n\n \n\n- ` references/advanced-strategies.md ` — Extended YAML examples, platform-specific configs (GitHub Actions, GitLab CI, Azure Pipelines), multi-region canary patterns, and database migration rollback strategies\n\n \n\n## Related Skills\n\n \n\n- ` github-actions-templates ` - For GitHub Actions implementation patterns and reusable workflows \n- ` gitlab-ci-patterns ` - For GitLab CI/CD pipeline implementation \n- ` secrets-management ` - For secrets handling in CI/CD pipelines\n\n \n\n## Files\n\n \n\n- ` LICENSE ` \n- ` SKILL.md ` \n- ` SOURCE.md ` \n- ` references/advanced-strategies.md ` \n- ` references/details.md `\n\n \n\n## Related terms\n\n \n\n- [Blue-green deployment](<https://delaparra-services.nl/knowledge-hub/blue-green-deployment>) \n- [CI/CD (Continuous Integration / Continuous Deployment)](<https://delaparra-services.nl/knowledge-hub/cicd-continuous-integration-continuous-deployment>) \n- [Feature flag](<https://delaparra-services.nl/knowledge-hub/feature-flag>) \n- [Pipeline](<https://delaparra-services.nl/knowledge-hub/pipeline>)\n\n \n\n[Installing an agent skill in Claude Code, Codex, Cursor and Copilot](<https://delaparra-services.nl/manuals/een-skill-installeren-in-je-ai-assistent>)\n\n[HTML version](https://delaparra-services.nl/skills/deployment-pipeline-design)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://delaparra-services.nl/skills/deployment-pipeline-design#webpage",
                "url": "https://delaparra-services.nl/skills/deployment-pipeline-design",
                "name": "Deployment Pipeline Design | DeLaParra Services",
                "description": "Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pipelines, implementing canary rollout strategies, setting up multi-environment promotion workflows, or debugging failed deployment gates in CI/CD.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/skills/deployment-pipeline-design#breadcrumb"
                }
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/skills/deployment-pipeline-design#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Deployment Pipeline Design"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "SoftwareSourceCode",
                "@id": "https://delaparra-services.nl/skills/deployment-pipeline-design#skill",
                "url": "https://delaparra-services.nl/skills/deployment-pipeline-design",
                "name": "Deployment Pipeline Design",
                "description": "Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pipelines, implementing canary rollout strategies, setting up multi-environment promotion workflows, or debugging failed deployment gates in CI/CD.",
                "inLanguage": "en",
                "license": "https://spdx.org/licenses/MIT.html",
                "subjectOf": {
                    "@id": "https://delaparra-services.nl/skills/deployment-pipeline-design#dataset"
                }
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/skills/deployment-pipeline-design#dataset",
                "name": "Deployment Pipeline Design",
                "description": "Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pipelines, implementing canary rollout strategies, setting up multi-environment promotion workflows, or debugging failed deployment gates in CI/CD.",
                "url": "https://delaparra-services.nl/skills/deployment-pipeline-design",
                "identifier": "https://delaparra-services.nl/skills/deployment-pipeline-design#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/skills/deployment-pipeline-design#skill"
                },
                "creditText": "wshobson/agents",
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://spdx.org/licenses/MIT.html",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "dateModified": "2026-11-28T14:00:11+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#skills",
                    "name": "Skills for AI coding assistants",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "deployment-pipeline-design.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/skills/deployment-pipeline-design.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "deployment-pipeline-design.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/skills/deployment-pipeline-design.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "deployment-pipeline-design.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/skills/deployment-pipeline-design.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "deployment-pipeline-design.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/skills/deployment-pipeline-design.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "deployment-pipeline-design.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/deployment-pipeline-design.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "deployment-pipeline-design-files.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/deployment-pipeline-design/download",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:11+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    }
                ]
            }
        ]
    }
}