Sign in to create and edit playbooks. Sign In Register

Build CD Pipeline

DCD-5 Order: #5 Elaboration Has Dependencies

Updated 3 months, 3 weeks ago

Guidance

APPEND TO GUIDANCE:


TAF Integration: E2E Staging Gate in CD

Add an E2E test stage in the CD pipeline that runs after deploying to the idle/staging environment and before the release/swap:

  e2e-staging:
    needs: smoke-test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Setup Python
        uses: actions/setup-python@v5
      - name: Install dependencies
        run: make provision
      - name: Install Playwright
        run: playwright install chromium
      - name: Run E2E against staging
        run: make test-e2e BASE_URL=${{ vars.STAGING_URL }} DB_URI=${{ vars.STAGING_DB_URI }}
      - name: Upload E2E screenshots
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: e2e-screenshots-${{ github.sha }}
          path: tests/e2e/screenshots/
          retention-days: 14

  release:
    needs: e2e-staging

Pipeline Flow (updated)

CI: lint → test-unit → test-integration → test-at → build container → push to ECR
CD: deploy-idle → smoke → E2E on staging (screenshots) → release → approve → switch → verify-prod

E2E fail → pipeline stops → no release → no swap. Screenshots are always archived for debugging.

Details
Order:
#5
Phase:
Predecessor:
DCD-4 Build CI Pipeline
Created:
Apr 12, 2026
Last Updated:
May 27, 2026
Workflow
Design & Deploy CICD

Design and deploy CI/CD pipeline using GitHub Actions in the application monorepo. Create Helm chart with per-environment values, add container …

View Workflow
Assigned Agent

No agent assigned

Rules

No rules linked.

Input Artifacts 2
Output Artifacts 1