Rails 7.0.4 / Ruby 3.1.2 app deployed on AWS ECS Fargate (blue/green via CodeDeploy).
Run the simplify skill on all changed files before committing. Review its suggestions with judgment — apply fixes that make sense, but don't follow them blindly. Then commit.
See the deploy-analytics-dashboard skill for the full 4-step deployment process.
Short version:
- Run the "Build ECR" GitHub Action on the branch (
gh workflow run 40080852 --ref <branch> --repo dpla/dashboard-analytics) - Squash merge the PR and delete the branch (
gh pr merge <number> --squash --delete-branch --repo dpla/dashboard-analytics), then start CodePipeline (aws codepipeline start-pipeline-execution --name analytics-dashboard-pipeline) - Monitor until green traffic reaches 100%
- Verify with
curl -o /dev/null -s -w "%{http_code}" https://analytics-dashboard.dp.la
- ECR image tag used by CodePipeline:
latest - ECS service:
analytics-dashboardin clusteranalytics-dashboard - CodeDeploy app:
AppECS-analytics-dashboard-analytics-dashboard - Secret ARN:
arn:aws:secretsmanager:us-east-1:283408157088:secret:terraform-20240821214923751700000001-7CZ7Cq- Do NOT include
|AWSCURRENTsuffix in task definitionvalueFrom— newer Fargate rejects it
- Do NOT include
- IAM role
ecs-task-execution-rolehas inline policyanalytics-dashboard-secretsgrantingsecretsmanager:GetSecretValue