Skip to content

Commit 2fd3676

Browse files
committed
Update updating-agent docs
1 parent 9e459de commit 2fd3676

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

docs/updating-agent.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,31 @@
11
# Updating the Agent
22

3+
The `buildkite-agent` is built in to the AMIs by the Packer build.
4+
5+
Once you have [released](https://github.com/buildkite/agent/blob/master/RELEASE.md) an updated
6+
version of the agent, you can incorporate it into the Elastic CI Stack
7+
for AWS template.
8+
9+
See https://github.com/buildkite/elastic-ci-stack-for-aws/pull/935 for an
10+
example of updating the buildkite-agent.
11+
12+
1. Create a new branch
13+
1. Update and commit a change to the Packer install scripts for [Linux](#linux) and [Windows](#windows) for the new version
14+
1. Push your branch and open a pull request
15+
1. Wait for CI to go green
16+
1. Merge
17+
318
## Linux
419

5-
Packer installs the `buildkite-agent` using the [`packer/linux/scripts/install-buildkite-agent.sh`](packer/linux/scripts/install-buildkite-agent.sh)
6-
script. Update the `AGENT_VERSION` variable in this file to
7-
change which version is installed.
20+
Update the `AGENT_VERSION` variable in [`packer/linux/scripts/install-buildkite-agent.sh`](packer/linux/scripts/install-buildkite-agent.sh)
21+
to change which version is installed during the Packer build for the Linux AMI.
822

923
The agent binary is downloaded from download.buildkite.com.
1024

1125
## Windows
1226

13-
Packer installs the `buildkite-agent` using the [`packer/windows/scripts/install-buildkite-agent.ps1`](packer/windows/scripts/install-buildkite-agent.ps1)
14-
script. Update the `AGENT_VERSION` variable in this file to
15-
change which version is installed.
27+
Update the `AGENT_VERSION` variable in [`packer/windows/scripts/install-buildkite-agent.ps1`](packer/windows/scripts/install-buildkite-agent.ps1)
28+
to change which version is installed during the Packer build for the Windows
29+
AMI.
1630

1731
The agent binary is downloaded from download.buildkite.com.

0 commit comments

Comments
 (0)