example-bazel-monorepo
example-bazel-monorepo copied to clipboard
Buildkite Pipeline - AWS infra related improvements
My Buildkite setup is now at a stage where I can run bazel test //... and have things pass π, but things are far from perfect.
Improvements to be made:
- Currently cannot access like
buildkite-agentinstances. The Buildkite CloudFormation template has something aboutsshkeyPair that can supposedly address this - EC2 Instance setup currently happens in the
bootstrap_agent.shscript. I think it would be much better to bake this setup into an AMI and then use that as the agent AMI instead of the basebuildkite-stackAMIs. Having 1 from this list will help achieve this. - Lower Priority: I had to go up from
t2-nanotot2-smallto avoid a JVM out-of-memory error. See if I can do some tuning or find a better instance type for these BK agents.
- My buildkite-agent instances are terminating after every completed step!!! Need them to stay up for at least 5 minutes or so waiting to see if it can pick up another step. Jeezus.