Releases: buildkite/terraform-buildkite-elastic-ci-stack-for-gcp
v0.4.3
v0.4.2
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
Full Changelog: v0.4.1...v0.4.2
v0.4.1
v0.4.0
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
v0.3.1
v0.3.0
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
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
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"
}