Skip to content

Commit 368a03a

Browse files
authored
Merge pull request #889 from buildkite/keithduncan/release/5.5.1
Release v5.5.1
2 parents e1e96a9 + dca2b81 commit 368a03a

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [v5.5.1](https://github.com/buildkite/elastic-ci-stack-for-aws/compare/v5.5.0...v5.5.1) (2021-08-06)
8+
9+
### Changed
10+
11+
* Included buildkite-agent from 3.32.0 to 3.32.1
12+
13+
### Fixed
14+
15+
* A source of unexpected instance termination causing build failures [#888](https://github.com/buildkite/elastic-ci-stack-for-aws/pull/888)
16+
717
## [v5.5.0](https://github.com/buildkite/elastic-ci-stack-for-aws/compare/v5.4.0...v5.5.0) (2021-07-30)
818

919
### Added

packer/linux/conf/buildkite-agent/hooks/environment

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if [[ "${DOCKER_USERNS_REMAP:-false}" == "false" ]] ; then
9696
# BUILDKITE_BUILD_PATH="/var/lib/buildkite-agent/builds"
9797

9898
# So we can calculate the suffix as a substring:
99-
AGENT_ORG_PIPELINE_DIR="${BUILDKITE_BUILD_CHECKOUT_PATH#${BUILDKITE_BUILD_PATH}/}"
99+
AGENT_ORG_PIPELINE_DIR="${BUILDKITE_BUILD_CHECKOUT_PATH#"${BUILDKITE_BUILD_PATH}/"}"
100100
# => "my-agent-1/my-org/my-pipeline"
101101

102102
# Then we can grab just the first path component, the agent name, by removing
@@ -105,7 +105,7 @@ if [[ "${DOCKER_USERNS_REMAP:-false}" == "false" ]] ; then
105105
# => "my-agent-1"
106106

107107
# Then we can figure out the org/pipeline path component
108-
ORG_PIPELINE_DIR="${AGENT_ORG_PIPELINE_DIR#${AGENT_DIR}/}"
108+
ORG_PIPELINE_DIR="${AGENT_ORG_PIPELINE_DIR#"${AGENT_DIR}/"}"
109109
# => "my-org/my-pipeline"
110110

111111
# Then we grab just the first path component, the org, by removing the longest
@@ -114,7 +114,7 @@ if [[ "${DOCKER_USERNS_REMAP:-false}" == "false" ]] ; then
114114
# => "my-org"
115115

116116
# Then we can figure out the pipeline path component using the org dir
117-
PIPELINE_DIR="${ORG_PIPELINE_DIR#${ORG_DIR}/}"
117+
PIPELINE_DIR="${ORG_PIPELINE_DIR#"${ORG_DIR}/"}"
118118
# => "my-pipeline"
119119

120120
# Now we can pass this to the sudo script which will validate it before safely chmodding:

packer/linux/scripts/install-buildkite-agent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -eu -o pipefail
33

4-
AGENT_VERSION=3.32.0
4+
AGENT_VERSION=3.32.1
55

66
MACHINE="$(uname -m)"
77

packer/windows/scripts/install-buildkite-agent.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Stop script execution when a non-terminating error occurs
22
$ErrorActionPreference = "Stop"
33

4-
$AGENT_VERSION = "3.32.0"
4+
$AGENT_VERSION = "3.32.1"
55

66
Write-Output "Creating bin dir..."
77
New-Item -ItemType directory -Path C:\buildkite-agent\bin

templates/aws-stack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ Resources:
10181018
- !Ref "AWS::NoValue"
10191019
MinSize: !Ref MinSize
10201020
MaxSize: !Ref MaxSize
1021-
Cooldown: 0
1021+
Cooldown: 60
10221022
MetricsCollection:
10231023
- Granularity: 1Minute
10241024
Metrics:

0 commit comments

Comments
 (0)