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
BuildkiteAgentTracingBackendwithBuildkiteAgentOpenTelemetryTracing. Datadog users should enable OTLP ingestion on their existing Datadog Agent if it isn't already enabled, then configure the Agent's OTLP endpoint throughAgentEnvFileUrl. - Replace
BuildkiteAgentCancelGracePeriodandBuildkiteAgentSignalGracePeriodwithBuildkiteAgentCancelSignalTimeoutandBuildkiteAgentCancelCleanupTimeout, defaulting to10sand5s. The default total cancellation time changes from 60 to 15 seconds on Linux and from 10 to 15 seconds on Windows.
Removed
- Remove the
oldstablerelease channel. - Remove
BuildkiteAgentTimestampLines; Agent v4 always emits ANSI timestamps.
Internal
- Update changelog with v6.71.4 #1882 (@scadu)
- Pin ShellCheck image and track updates with Renovate #1886 (@scadu)
- Bump golang.org/x/sync from 0.22.0 to 0.23.0 #1884 (@dependabot[bot])
- Bump golang.org/x/sys from 0.47.0 to 0.48.0 #1885 (@dependabot[bot])
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-secretsfrom upload commands; the flag no longer exists and causes uploads to fail. Interpolated secrets are now rejected by default, including in trigger-stepbuild.envvalues. Use--allow-secretsonly if allowing them is intentional. - Hook ordering:
post-checkout,post-command, andpre-exithooks now run in reverse setup order: plugins last-to-first, repository, then Agent. Review hooks that depend on another hook's output or cleanup. Thelegacy-post-hook-orderexperiment 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 orwarnsettings must be replaced withstrictoroff.spawn-with-priorityno longer accepts booleans: usestatic,ascending, ordescending.
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
27when 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):