Skip to content

Conversation

@timothywarner
Copy link
Owner

Overview

Teaching-ready YAML pipeline examples for AZ-400 course demonstrations.

Files Added

1. Single-Stage CI Pipeline (pipelines/single-stage-ci.yml)

  • Basic CI pattern with Node.js
  • Testing, linting, coverage
  • Clear comments for teaching

2. Multi-Stage CI/CD Pipeline (pipelines/multi-stage-cicd.yml)

  • 5 stages: Build → Dev → Staging → Production → Post-Deploy
  • Blue-green deployment with slot swapping
  • Automated rollback on failure
  • Environment approvals

3. GitHub Actions Workflow (.github/workflows/node-azure-deploy.yml)

  • GitHub-native CI/CD to Azure
  • Environment protection rules
  • Security scanning with CodeQL
  • Release tagging

4. Documentation (pipelines/README.md)

  • Setup instructions
  • Teaching points for each pipeline
  • Azure resource creation scripts

Benefits

  • ✅ Production-ready examples
  • ✅ Heavily commented for teaching
  • ✅ Covers both Azure Pipelines and GitHub Actions
  • ✅ Progressive complexity (single → multi-stage)
  • ✅ Real-world patterns (blue-green, rollback, gates)

Perfect for course segments 2 & 3!

@timothywarner timothywarner merged commit 9efa7bd into master Jul 19, 2025
3 of 5 checks passed
@timothywarner timothywarner deleted the add-yaml-pipeline-examples branch July 19, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants