message: Add production waypoint deploy for hub-bot
diff: @@ -43,7 +43,6 @@ app "hub" {
  }
  }
  -
  app "hub-worker" {
  path = "./packages/hub"
  @@ -78,3 +77,38 @@ app "hub-worker" {
  }
  }
  }
  +
  +app "hub-bot" {
  + path = "./packages/hub"
  +
  + build {
  + use "pack" {
  + process_type = "bot"
  + }
  +
  + registry {
  + use "aws-ecr" {
  + region = "us-east-1"
  + repository = "hub-bot-prod"
  + tag = "latest"
  + }
  + }
  + }
  +
  + deploy {
  + use "aws-ecs" {
  + region = "us-east-1"
  + memory = "512"
  + cluster = "hub-bot-prod"
  + count = 1
  + subnets = ["subnet-0c22641bd41cbdd1e", "subnet-01d36d7bcd0334fc0"]
  + task_role_name = "hub-prod-hub_ecr_task"
  + disable_alb = true
  + }
  +
  + hook {
  + when = "before"
  + command = ["./scripts/purge-services.sh", "hub-bot-prod", "waypoint-hub-bot", "1"] # need this to purge old ecs services
  + }
  + }
  +}
  \ No newline at end of file
  