v6.0.0 (2023-07-26)
Changed
- Upgrade base image to Amazon Linux 2023 #1122 (@triarius)
- Many packages have been added, upgraded, or removed since Amazon Linux 2. We've explicitly called out what's been intentionally left out by us below. Refer to docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html for the changes Amazon have made.
- Publish template to both
main
andmaster
#1129 (@triarius) - Increase job cancel grace period to 60s #1144 (@triarius)
- Allow the
MaxSize
to be 0 #1140 (@triarius) - Default EC2 instance names to stack name #1137 (@triarius)
- Rename the parameter
InstanceType
toInstanceTypes
#1138 (@triarius) - Rename the parameter
ManagedPolicyARN
toManagedPolicyARNs
#1138 (@triarius) - Rename the parameter
SecurityGroupId
toSecurityGroupIds
#1128 (@triarius) - Rename the parameter
EnableAgentGitMirrorsExperiment
toBuildkiteAgentEnableGitMirrors
#1123 (@triarius) - Enable the
ansi-timestamps
setting if and only ifBuildkiteAgentTimestampLines
parameter is"false"
#1132 (@triarius) - Bump buildkite-agent-scaler to v1.5.0 #1169 (@tomellis91)
- Bump docker compose to v2.20.2 #1150 (@triarius)
- Bump buildx to v0.11.2 #1150 (@triarius)
Added
- Support running and building multi-platform docker images #1139 #1122 #1149 (@triarius)
- Support i4g instance types #1138 (@triarius)
- Added the parameter
SpotAllocationStrategy
#1130 (@triarius) - Added the parameter
ScalerEventScheduleRate
to control the rate at which buildkite-agent-scaler is invoked #1169 (@tomellis91)
Fixed
Removed
- Remove deprecated
SpotPrice
parameter #1130 (@triarius) - Removed packages. These packages are either not available on Amazon Linux 2023, or not installed by default on the base image we use. We have decided to not install them, as suitable replacements may be found.
Known Issues
- If you invoke docker compose with the
docker-compose
command, the--compatibilty
flag will be prepended for you. This will be the case with the docker-compose-buildkite-plugin unless you specifycli-version: 2
in your plugin config. - Docker build errors from docker compose will now exit with status code
17
or18
when previously they would have exited with code1
. Please adjust your retry rules accordingly. - The
docker
group is now a system group. Previously, its group ID was hard-coded to be1001
, but now it could take some value from999
descending. If you relied on the GID being hard-coded to1001
in your builds, they may have permission errors. We recommend you use something like the bash expressiongetent group docker | awk -F: '{print $3}'
to detect what the ID of the docker group is instead.
Upgrading
Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v6.0.0/aws-stack.yml
If you want to launch a new stack, you can use this link (make sure not to use your production AWS account, create a new one for CI):