Pipeline Dashboard

Build and simulate CI/CD pipelines — define stages and jobs, watch them run, analyse duration and failure patterns.

No stages yet — add a stage and some jobs, or load a preset.

Idle

Define pipeline stages in the Build tab first.

Pipeline log will appear here...
0
Total Runs
Pass Rate
Avg Duration
Fastest Run

Average Job Duration

No run data yet — run the pipeline first.

Run History

#StatusDurationFailed JobsTimestamp
No runs yet.

CI vs CD vs CD

Continuous Integration merges developer changes frequently and runs automated builds/tests. Continuous Delivery ensures the build is always deployable. Continuous Deployment auto-deploys every passing build to production.

Stages & Jobs

A stage is a logical phase (build, test, deploy). Stages run sequentially; a failed stage blocks later ones. Jobs within a stage run in parallel, each in its own isolated environment (container, VM, or runner).

Artifacts

Build outputs (compiled binaries, docker images, test reports) passed between stages. Good pipelines produce immutable artifacts — the same binary tested in staging is deployed to production, never rebuilt.

Caching

Reuse expensive downloads (npm modules, pip packages, Maven deps) across runs. Cache keys are typically hashed from lock files (package-lock.json) so a changed dep busts the cache automatically.

Environments

Named deployment targets (dev, staging, prod). Production environments typically require manual approval gates and have protection rules restricting who can trigger deploys.

Rollback Strategy

Options include: redeploy previous artifact, git revert + redeploy, blue/green swap, canary weight reset. The fastest rollback is a feature flag flip — no redeploy needed.

Parallelism

Split test suites across N runners to reduce wall-clock time. Most CI systems support strategy.matrix (GitHub Actions) or parallel: (GitLab) for fan-out. Critical path analysis shows which job limits overall speed.

Secret Management

Credentials injected at runtime as env vars — never hardcoded or committed. Stored in the CI platform's secret store or external vaults (HashiCorp Vault, AWS Secrets Manager). Secrets are masked in logs automatically.

Example: GitHub Actions Workflow

# .github/workflows/ci.yml name: CI/CD Pipeline on: push: branches: [ main ] pull_request: jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: npm ci && npm run lint test: needs: lint runs-on: ubuntu-latest strategy: matrix: node: [ 18, 20, 22 ] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: '${{ matrix.node }}' } - run: npm ci && npm test build: needs: test runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: docker build -t myapp:${{ github.sha }} . - run: docker push myapp:${{ github.sha }} deploy: needs: build environment: production # requires manual approval runs-on: ubuntu-latest steps: - run: kubectl set image deployment/myapp app=myapp:${{ github.sha }}