ECS Service Tasks Workflow Deployment
Overide Workflow Defaults
ECS Cluster Deployment
Branch
ECS Cluster
master
devopskats-master
devlop, feature, fix
devopskats-develop
Master Branch Deployment override
ECS Desired Count
1,2,5
Number of Fargate ECS Tasks
0
Terminate all Tasks
.NET Build & Lint
.NET Unit Testing and Code Coverage
Image Vulnerability Scanning
Repository
Tag Format
Example
azuredevopskats
{ net_core_ver }.{ github.run_number }-buildx-{ github.sha }
6.0.17-buildx-232b92de90ff3
Deploy ECS Fargate Container and task definition
Ecspresso Deployment Tool
https://github.com/kayac/ecspresso
Variable Type
Name
Environment
ASPNETCORE_ENVIRONMENT
AwsEcs
Environment
CLUSTER_NAME
master, develop
Secret
/devopskats-{ENVIRONMENT}/secret
/devopskats-master/secret
Log Type
Log Group
Container Logger
devopskats-{ENVIRONMENT}
Container Path
Storage Type
Volume Name
/images
EFS
efs-devopskats-{ENVIRONMENT}-images
Build Assets
Storage Type
Bucket
tfstate
S3 Bucket
/devops/aws/us-east-1/s3/devopskats
Git Event : Push, Pull Request
Check ECS Deployment and Application Health
Validate Release Tag Matches Running Container Tag
Health Check Endpoint
Application Smoke and UI Testing