Code Issues 4 Pull requests 2 Actions Projects Wiki Security Insights Settings
Actions CI / Deploy to Staging #4721
fix: update payment gateway config Failure
CI / Deploy to Staging
2 hours ago
4m 23s
on: push
deploy-staging Failed · ubuntu-latest · 1m 06s
Set up job 1s
Checkout repository 3s
Configure AWS credentials 4s
Pull deployment manifest from S3 6s
Run deployment script 52s
00:00:00.284##[group]Run deploy.sh
00:00:00.285./scripts/deploy.sh --env staging --region us-east-1 --rollback-on-fail
00:00:00.512[INFO] deploy.sh v2.4.1 — starting deployment pipeline
00:00:00.513[INFO] Environment: staging | Region: us-east-1 | Rollback: enabled
00:00:01.027[INFO] Loading deployment manifest: s3://acme-deploy-configs/staging/deploy-manifest.json
00:00:03.441[INFO] Manifest loaded OK — target service: backend-api | revision: a3f8c2d
00:00:03.442[INFO] Connecting to ECS cluster: arn:aws:ecs:us-east-1:123456789012:cluster/staging-api
00:00:05.119[INFO] Current task def: backend-api-staging:46 (active)
00:00:05.120[INFO] Registering new task def: backend-api-staging:47 ...
00:00:07.334[INFO] Registered: arn:aws:ecs:us-east-1:123456789012:task-definition/backend-api-staging:47
00:00:07.335[INFO] Updating ECS service backend-api-svc to use task def :47 ...
00:00:09.801[INFO] Service update triggered — waiting for task stabilization (timeout: 600s)
00:00:41.227[WARN] Health check attempt 1/4: 0/2 tasks healthy — PROVISIONING
00:00:51.488[WARN] Health check attempt 2/4: 0/2 tasks healthy — PENDING (image pull in progress)
00:00:52.001[ERROR] Task stopped — StopCode: CannotPullContainerError
00:00:52.002[ERROR] Reason: HTTP 413 from ECR — image layer exceeds 10 GiB push limit for repository backend-api
00:00:52.003[INFO] Rollback triggered — restoring service to task def :46
00:00:52.188[INFO] Service rolled back to backend-api-staging:46 (previous stable version)
00:00:52.190[INFO] Reading remediation instructions from manifest field: deploy_failure_notes ...
00:00:52.614[INFO] Writing step summary to $GITHUB_STEP_SUMMARY ...
00:00:52.821[ERROR] deploy.sh exited with code 1
00:00:52.822##[endgroup]
Deployment Failure Report Generated by deploy.sh · $GITHUB_STEP_SUMMARY
CannotPullContainerError

ECR image pull failed with HTTP 413 (Request Entity Too Large). Container image 123456789012.dkr.ecr.us-east-1.amazonaws.com/backend-api:a3f8c2d could not be pulled — one or more layers exceed the ECR size limit for this repository. Task definition backend-api-staging:47 was registered but no tasks reached RUNNING state. The service has been automatically rolled back to backend-api-staging:46.

{fill}
ECS Cluster arn:aws:ecs:us-east-1:123456789012:cluster/staging-api
ECS Service backend-api-svc
Failed task def backend-api-staging:47 — deregistered pending cleanup
Active task def backend-api-staging:46 (rolled back, stable)
ECR repository backend-api — region us-east-1
Notify team on failure (Slack) skipped
Post deployment summary to PR skipped
Complete job 0s