Skip to content
This repository was archived by the owner on May 5, 2024. It is now read-only.

Automatically scaled, multi-platform Buildkite agents on AWS, using Packer and Terraform.

Notifications You must be signed in to change notification settings

solemnwarning/build-server-deployment

Repository files navigation

build-server-deployment

NOTE: This repository is no longer maintained, I have migrated from AWS EC2 to a self-hosted KVM cluster deployed with similar tooling here: kvm-build-environment.

What is this?

This is a collection of scripts and Packer/Terraform definitions that build and deploy my various Buildkite CI build agents (except for Mac) on AWS.

The following machine images are deployed using Packer (one subdirectory for each):

  • build-agent-copr - Fedora-based Buildkite agent used for triggering RPM builds on Copr.
  • build-agent-debian - Ubuntu-based Buildkite agent used for building Debian/Ubuntu packages with git-buildpackage and running steps in normal Linux chroots.
  • build-agent-freebsd - FreeBSD-based Buildkite agent.
  • build-agent-ipxtester - Debian-based Buildkite agent that runs the IPXWrapper test suite on bare-metal instances.
  • build-agent-windows - Windows-based Buildkite agent with MinGW toolchains.

There is also:

  • build-cluster-manager - Persistent Debian-based system that scales build agent instances up/down using buildkite-spot-fleet-scaler and runs a HTTP cache used for installing build dependencies on the Debian build agents.
  • build-cluster-aws - Terraform configuration for deploying all of the above machines on AWS.
  • workflow-templates - GitHub Actions Workflow templates to deploy everything above.

About

Automatically scaled, multi-platform Buildkite agents on AWS, using Packer and Terraform.

Resources

Stars

Watchers

Forks