Skip to content

Commit 39a0b7e

Browse files
committed
Add docs on updating buildkite-agent-scaler
# Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch keithduncan/add-updating-docs # Your branch is up to date with 'origin/keithduncan/add-updating-docs'. # # Changes to be committed: # new file: docs/updating-buildkite-agent-scaler.md #
1 parent 0c68cbb commit 39a0b7e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Updating buildkite-agent-scaler
2+
3+
The [buildkite-agent-scaler](https://buildkite.com/buildkite/buildkite-agent-scaler)
4+
is brought in via the AWS Serverless Application Repository.
5+
6+
Once you have [released](https://github.com/buildkite/buildkite-agent-scaler/blob/master/RELEASE.md) an updated
7+
version, you can incorporate it into the Elastic CI Stack
8+
for AWS template.
9+
10+
1. Create a new branch
11+
1. In the [`templates/aws-stack.yml`](templates/aws-stack.yml)update the `Autoscaling` resource’s `SemanticVersion` property to the newly released version.
12+
1. Push your branch and open a pull request
13+
1. Wait for CI to pass
14+
1. If needed for testing, create a stack with the branch’s published template to verify functionality
15+
1. In the Buildkite build, get the template URL from the build annotation
16+
1. In the AWS Console, launch CloudFormation
17+
1. Create a new stack, select new resources
18+
1. Supply the template URL from the build annotation for the Amazon S3 URL field
19+
1. Supply a Buildkite Agent token in the `BuildkiteAgentToken`
20+
or `BuildkiteAgentTokenParameterStorePath` parameters
21+
1. Supply a queue in the `BuildkiteQueue` parameter
22+
1. Create the stack and wait for it to complete
23+
1. Verify that instances are booted in response to Buildkite jobs on your queue
24+
1. Delete the stack
25+
1. Merge your pull request

0 commit comments

Comments
 (0)