Skip to content

Latest commit

 

History

History

ecspresso

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ECS Service Tasks

Deploy ECS Service Tasks

ECS Service Tasks Workflow Deployment

Workflow Dispatch

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

Workflow Steps

test-coverage

CI/CD Build/Test/Deploy

  • .NET Build & Lint
  • .NET Unit Testing and Code Coverage
  • Image Vulnerability Scanning

build

Repository Tag Format Example
azuredevopskats { net_core_ver }.{ github.run_number }-buildx-{ github.sha } 6.0.17-buildx-232b92de90ff3

deploy

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

develop branch

  • Git Event : Push

master branch

  • Git Event : Push, Pull Request

health-check

  • Check ECS Deployment and Application Health
  • Validate Release Tag Matches Running Container Tag

Health Check Endpoint

selenium-test

  • Application Smoke and UI Testing
Test Type Workflow Docker Image
selenium-screenshot Selenium Workflow This image on DockerHub