github buildkite/elastic-ci-stack-for-aws v7.0.0
v7.0.0 Huzzah

5 hours ago

What's Changed

Huzzah!

Important

Elastic CI Stack v7 uses Buildkite Agent v4 and removes Agent v3 support. Before upgrading, review the v7 upgrade guide and the Agent v3 to v4 upgrade guide, especially if you use custom parameter files, AMIs, or AgentEnvFileUrl.

Removed Agent flags cause commands to fail. Removed environment variables and configuration options are silently ignored, so check pipelines, hooks, plugins, and custom Agent configuration before upgrading.

Changed

  • Upgrade the bundled Linux and Windows agents from v3.137.2 to v4.0.3 #1879 (@scadu)
  • Replace BuildkiteAgentTracingBackend with BuildkiteAgentOpenTelemetryTracing. Datadog users should enable OTLP ingestion on their existing Datadog Agent if it isn't already enabled, then configure the Agent's OTLP endpoint through AgentEnvFileUrl.
  • Replace BuildkiteAgentCancelGracePeriod and BuildkiteAgentSignalGracePeriod with BuildkiteAgentCancelSignalTimeout and BuildkiteAgentCancelCleanupTimeout, defaulting to 10s and 5s. The default total cancellation time changes from 60 to 15 seconds on Linux and from 10 to 15 seconds on Windows.

Removed

  • Remove the oldstable release channel.
  • Remove BuildkiteAgentTimestampLines; Agent v4 always emits ANSI timestamps.

Internal

Agent Changelog (v4.0.0–v4.0.3)

Agent v4 removes deprecated functionality and changes several defaults. Most features and fixes developed before v4.0.0 were backported to v3; the following highlights changes that may require action before upgrading.

Breaking changes

  • Removed flags and configuration: Removed flags cause Agent commands to fail, while removed environment variables and configuration options are silently ignored. Check custom Agent settings, AgentEnvFileUrl, hooks, plugins, and scripts against the Agent upgrade guide.
  • Pipeline uploads: Remove --reject-secrets from upload commands; the flag no longer exists and causes uploads to fail. Interpolated secrets are now rejected by default, including in trigger-step build.env values. Use --allow-secrets only if allowing them is intentional.
  • Hook ordering: post-checkout, post-command, and pre-exit hooks now run in reverse setup order: plugins last-to-first, repository, then Agent. Review hooks that depend on another hook's output or cleanup. The legacy-post-hook-order experiment temporarily restores v3 ordering.
  • Tracing and metrics: OpenTracing and direct DogStatsD support are removed in favor of OpenTelemetry. Custom telemetry configuration, dashboards, and alerts may need updating for renamed metrics and changed labels.
  • Custom checkout and parallelism settings: Git commit verification now defaults to strict; previous empty or warn settings must be replaced with strict or off. spawn-with-priority no longer accepts booleans: use static, ascending, or descending.

See the Agent v4.0.0 release notes for the complete breaking-change list.

Subsequent updates

  • v4.0.1: Fix multipart artifact uploads above 5 GiB and retained hook file handles.
  • v4.0.2: Add a force option to cache save and experimental Origin CloneKit mirror seeding; fix cache retention and restore behavior.
  • v4.0.3: Make cache save/restore fail-open by default and exit with status 27 when registration rejects an unacquirable job.

Full Changelog: v6.71.4...v7.0.0

Upgrading

Follow the v7 upgrade guide before updating. Remove or replace retired parameters in parameter files and deployment automation. If you use a custom AMI through ImageId or ImageIdParameter, rebuild it from the v7 base AMI and update it in the same stack update; a v6-based AMI might not boot under the v7 template depending on the configuration.

Perform a CloudFormation stack update with the following URL:

https://s3.amazonaws.com/buildkite-aws-stack/v7.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

Don't miss a new elastic-ci-stack-for-aws release

NewReleases is sending notifications on new releases.