bryantrobbins/baseball

Infra: Add Hubot to BuildHost

Closed this issue · 4 comments

Infra: Add Hubot to BuildHost

I'll take a swing at this

image

Terrible.

@JacobSheppard here's what would need to be done for this:

  • Add an ECR repo for the hubot image in baseball/infra/stacks/base.json
  • Get a Packer build configuration working for the Hubot container, including steps to push to ECR (see ui/build/* for some supporting files that can probably be reused here).
  • Add a build for the hubot container to baseball/infra/jenkins/build.groovy which calls the necessary packer steps from above
  • Add an Nginx config for Hubot to the standard-aws setup on the BuildServer (Puppet code)
  • Add a new "hubot.json" and "hubot.properties" to infra/stacks which spec out the ECS Service for the running Hubot container (look at dev.json, dev.properties as an example)
  • Add a deploy-HUBOT job to infra/jenkins/build.groovy which deploys the hubot.json cloudformation stack

We might want to add this to standard-aws instead of baseball:
https://github.com/bryantrobbins/standard-aws

That way it could be included in "any side project" made with standard-aws.