home / skills / ntaksh42 / agents / azure-release-pipeline
This skill helps you design Azure release pipelines with blue-green and rolling strategies, including approvals and rollback across environments.
npx playbooks add skill ntaksh42/agents --skill azure-release-pipelineReview the files below or copy the command above to add this skill to your agents.
---
name: azure-release-pipeline
description: Design Azure release pipelines with deployment strategies and rollback. Use when creating release automation or deployment strategies.
---
# Azure Release Pipeline Skill
Azure Releaseパイプラインを構築するスキルです。
## 主な機能
- **環境管理**: Dev、Staging、Production
- **承認フロー**: 手動承認ゲート
- **デプロイ戦略**: Blue-Green、Rolling
- **ロールバック**: 自動・手動ロールバック
## Classic Release Pipeline (YAML代替)
```yaml
# 環境デプロイ with approvals
stages:
- stage: Deploy_Staging
jobs:
- deployment: DeployStaging
environment: Staging
strategy:
runOnce:
deploy:
steps:
- task: AzureWebApp@1
inputs:
azureSubscription: 'Azure-Connection'
appName: 'myapp-staging'
package: '$(Pipeline.Workspace)/drop'
- stage: Approval
dependsOn: Deploy_Staging
jobs:
- job: WaitForValidation
pool: server
steps:
- task: ManualValidation@0
timeoutInMinutes: 1440
inputs:
notifyUsers: '[email protected]'
instructions: 'Please validate staging and approve'
- stage: Deploy_Production
dependsOn: Approval
jobs:
- deployment: DeployProduction
environment: Production
strategy:
runOnce:
deploy:
steps:
- task: AzureWebApp@1
inputs:
azureSubscription: 'Azure-Connection'
appName: 'myapp-prod'
package: '$(Pipeline.Workspace)/drop'
```
## デプロイゲート
```yaml
# Time-based gate
gates:
- task: InvokeRESTAPI@1
inputs:
connectionType: 'connectedServiceName'
method: 'GET'
urlSuffix: '/health'
waitForCompletion: 'true'
successCriteria: 'eq(root.status, "healthy")'
```
## バージョン情報
- Version: 1.0.0
This skill designs Azure release pipelines focused on safe, repeatable deployments and rollback strategies. It models environments like Dev, Staging, and Production, and includes approval gates, deployment strategies (blue-green, rolling), and rollback automation. The goal is to standardize release automation and minimize downtime during production changes.
The skill generates pipeline stages and jobs that deploy artifacts to environments, insert manual approval steps, and run health gates before promoting releases. It supports deployment strategies such as run-once, blue-green swap, and rolling updates, plus both automatic and manual rollback triggers. Health checks and REST-based gates can be used to validate environment readiness before continuing a release.
Does this skill support YAML pipelines?
Yes. It is designed to produce YAML-compatible stages and jobs for Azure Pipelines, including deployment strategies and gate tasks.
How are rollbacks triggered?
Rollbacks can be automatic, triggered by failed health checks or gate criteria, or manual via a rollback job that operators invoke from the pipeline.