Skip to content

Releases: buildkite/elastic-ci-stack-for-aws

v6.7.0

14 Sep 06:25
f9ab0e0
Compare
Choose a tag to compare

v6.7.0 (2023-09-14)

Full Changelog

Security

⚠️ This release partially fixes a medium-severity security vulnerability. We recommend upgrading to v6.7.1 or v5.22.5.

  • Affected versions: All prior versions of Elastic CI Stack
  • Impact: Privilege escalation to root on Linux agent instances
  • Required privileges: Users that can run user-controlled commands on agents (e.g. by pushing a branch to a repo that triggers a build with those changes)
  • Attack vector: A specially crafted build can abuse the fix-buildkite-agent-builds-permissions script to run commands as root on subsequent builds
  • Fix: Improved input validation in fix-buildkite-agent-builds-permissions #1212 (@DrJosh9000)
  • Alternative workarounds: Deploy a pre-bootstrap hook to prevent execution of fix-buildkite-agent-builds-permissions during a build

Thanks to Nick Nam of Atredis Partners for reporting the vulnerability.

Changed

Internal

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v6.7.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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v5.22.4

14 Sep 05:45
35a3fba
Compare
Choose a tag to compare

v5.22.4 (2023-09-14)

Full Changelog

Security

⚠️ This release partially fixes a medium-severity security vulnerability. We recommend upgrading to v6.7.1 or v5.22.5.

  • Affected versions: All prior versions of Elastic CI Stack
  • Impact: Privilege escalation to root on Linux agent instances
  • Required privileges: Users that can run user-controlled commands on agents (e.g. by pushing a branch to a repo that triggers a build with those changes)
  • Attack vector: A specially crafted build can abuse the fix-buildkite-agent-builds-permissions script to run commands as root on subsequent builds
  • Fix: Improved input validation in fix-buildkite-agent-builds-permissions #1215 (@DrJosh9000)
  • Alternative workarounds: Deploy a pre-bootstrap hook to prevent execution of fix-buildkite-agent-builds-permissions during a build

Thanks to Nick Nam of Atredis Partners for reporting the vulnerability.

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v5.22.4/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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v6.6.0

07 Sep 06:14
0d81e98
Compare
Choose a tag to compare

v6.6.0 (2023-09-07)

Full Changelog

Fixed

  • Fix instance storage mount script fails when instance storage not available #1206 (@triarius)

Changed

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v6.6.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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v6.5.0

31 Aug 05:14
6665d04
Compare
Choose a tag to compare

v6.5.0 (2023-08-31)

Full Changelog

Changed

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v6.5.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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v6.4.0

24 Aug 23:01
v6.4.0
3b5496f
Compare
Choose a tag to compare

v6.4.0 (2023-08-24)

Full Changelog

Changed

Internal

  • Prevent tag builds from publishing a latest template when they are not "on the main branch" #1197 (@triarius)

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v6.4.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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v6.3.0

16 Aug 04:34
v6.3.0
807de69
Compare
Choose a tag to compare

Known Issues

⚠️ Buildkite Agent v3.51.0 has a known issue with the buildkite-agent step export command. This is fixed in v3.52.0.

v6.3.0 (2023-08-16)

Full Changelog

Changed

Fix

  • Fix mdadm is not installed, leading to broken instance storage when there is more than one volumes #1190 (@triarius)

Internal

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v6.3.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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v6.2.0

10 Aug 01:55
a82cb8c
Compare
Choose a tag to compare

v6.2.0 (2023-08-09)

Full Changelog

Changed

  • Change base image to Windows Server 2019 w/o containers and install Docker CE (v24.0.5) #1180 (@triarius)
  • Add cost allocation tags to EBS volumes #1171 (@keatmin)

Fixed

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v6.2.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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v5.22.3

10 Aug 04:22
8f4c9c3
Compare
Choose a tag to compare

v5.22.3 (2023-08-10)

Full Changelog

Changed

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v5.22.3/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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v6.1.0

01 Aug 05:55
0b64405
Compare
Choose a tag to compare

v6.1.0 (2023-08-01)

Full Changelog

Changed

Upgrading

Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v6.1.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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.

v6.0.0

26 Jul 06:39
v6.0.0
aec74ff
Compare
Choose a tag to compare

v6.0.0 (2023-07-26)

Full Changelog

Changed

Added

Fixed

  • Guard against BUILDKITE_AGENT_ENABLE_GIT_MIRRORS not being set in startup script #1135 (@triarius)

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.
    • Python 2
    • OpenSSL v1.0
    • AWS CLI v1
    • Docker-Compose v1
      • The docker-compose executable will prepend the --compatibility flag to docker-compose v2 #1148 (@triarius)
    • Cronie

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 specify cli-version: 2 in your plugin config.
  • Docker build errors from docker compose will now exit with status code 17 or 18 when previously they would have exited with code 1. Please adjust your retry rules accordingly.
  • The docker group is now a system group. Previously, its group ID was hard-coded to be 1001, but now it could take some value from 999 descending. If you relied on the GID being hard-coded to 1001 in your builds, they may have permission errors. We recommend you use something like the bash expression getent 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):

Launch Buildkite AWS Stack

Documentation

See the README for this release.