Skip to content

Commit

Permalink
Merge pull request #559 from rust-lang/feat-bors-add-health-check
Browse files Browse the repository at this point in the history
feat(bors): add health check
  • Loading branch information
marcoieni authored Sep 4, 2024
2 parents e36e26e + 5dd7714 commit 626c704
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terragrunt/modules/bors/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ resource "aws_ecs_task_definition" "bors" {
valueFrom = aws_ssm_parameter.db_endpoint.arn
}
]

healthCheck = {
command = ["CMD-SHELL", "curl -f http://localhost:8080/health || exit 1"]
timeout = 10
startPeriod = 10
}
}
])
}
Expand Down

0 comments on commit 626c704

Please sign in to comment.