Skip to content

Releases: buildkite/terraform-buildkite-elastic-ci-stack-for-gcp

v0.4.3

01 Mar 23:18
49543fd

Choose a tag to compare

What's Changed

  • chore: remove mention of updating changelog by @mcncl in #43
  • chore: the correct team for code ownership is support by @mcncl in #46
  • fix: actually use fixed secrets path by using script template by @mcncl in #45

Full Changelog: v0.4.2...v0.4.3

v0.4.2

25 Feb 02:28
556960e

Choose a tag to compare

What's Changed

  • docs: clean up docs and point to official pages by @mcncl in #39
  • Fix URL to Elastic CI Stack GCP docs page by @scadu in #40
  • chore(deps): update hashicorp/packer docker tag to v1.15 by @renovate[bot] in #41
  • fix: parsing of secret names/values is inconsistent by @mcncl in #42

New Contributors

  • @scadu made their first contribution in #40

Full Changelog: v0.4.1...v0.4.2

v0.4.1

18 Dec 22:08
9ec4071

Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.4.1

v0.4.0

16 Dec 05:41
66daa50

Choose a tag to compare

What's Changed

  • Fix issue with using buildkite org slugs in the metric name by @omehegan in #32
  • chore(deps): update dependency buildkite/agent to v3.115.0 by @renovate[bot] in #33
  • chore(deps): update dependency buildkite/agent to v3.115.1 by @renovate[bot] in #34
  • Build public GCP image by @omehegan in #36
  • Change the autoscaler to follow the UnfinishedJobsCount metric by @omehegan in #37

Full Changelog: v0.3.2...v0.4.0

v0.3.2

10 Dec 05:48
6012167

Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.3.2

v0.3.1

10 Dec 04:18
92280d8

Choose a tag to compare

What's Changed

  • chore(deps): update buildkite-ci-stack image to 2025-12-09-0554 by @mcncl in #30

Full Changelog: v0.3.0...v0.3.1

v0.3.0

09 Dec 05:20
3bdbddd

Choose a tag to compare

What's Changed

  • Defensive handling of role names when stack name has banned characters by @omehegan in #26
  • chore(deps): update dependency buildkite/agent to v3.114.1 by @renovate[bot] in #28
  • Dependency fixes by @omehegan in #27
  • feat: use a buildkite built default image by @mcncl in #29

Full Changelog: v0.2.0...v0.3.0

v0.2.0

02 Dec 09:31
7066932

Choose a tag to compare

What's Changed

  • chore(deps): update buildkite plugin docker to v5.13.0 by @renovate[bot] in #20
  • chore: registry source by @mcncl in #23
  • chore(deps): update dependency buildkite/agent to v3.114.0 by @renovate[bot] in #21
  • Always grant storage viewer permission by @omehegan in #19
  • Agent startup fix by @omehegan in #24
  • fix: support multiple stacks in same project by @mcncl in #25

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

25 Nov 22:55
52b19e7

Choose a tag to compare

Initial Release

Warning

This release has been tested, but is still in Preview. If any issues are encountered, please raise an issue or feel free to create a Pull Request.

This is the initial release of the Elastic CI Stack for GCP. This stack aims to replicate the functionality of the existing (and much used) Elastic CI Stack for AWS.

This stack provides an autoscaling solution for running Buildkite agents within Google Cloud Platform using Terraform.

Features

• Autoscaling based on Buildkite queue depth via Cloud Monitoring metrics
• Packer templates for custom VM images

The following are available when the custom image is used (from the /packer/build script):

• Docker and Docker Compose v2 support with automated cleanup
• Centralized logging with Cloud Logging
• Secret Manager integration
• Private networking with Cloud NAT
• Identity-Aware Proxy (IAP) support for secure SSH

Caveats

There may be breaking changes in the future as we gather feedback on the stack and its limitations, though we'll aim to ensure any changes are backwards compatible.

Get Started

The following should be enough config to get you up and running:

module "buildkite_stack" {
  source = "github.com/buildkite/terraform-buildkite-elastic-ci-stack-for-gcp"

  # Required
  project_id                    = "your-gcp-project"
  buildkite_organization_slug 	= "your-org-slug"
  
  # A Buildkite agent token
  buildkite_agent_token       	= "YOUR_AGENT_TOKEN"

  OR

  # A secret from GCP Secret Manager
  buildkite_agent_token_secret  = "YOUR_AGENT_TOKEN_SECRET_NAME"

  # Stack configuration (optional)
  stack_name      = "my-buildkite-stack"
  buildkite_queue = "default"
}