Skip to content

v3.50.4

Compare
Choose a tag to compare
@buildkite-agent-releaser buildkite-agent-releaser released this 01 Aug 01:03
a10fcb3

v3.50.4 (2023-07-31)

Full Changelog

This point release fixes more parser cases in previous point releases of 3.50. We recommend anyone using v3.50.0 through v3.50.3 upgrade, especially when experiencing problems with previously-working pipeline YAML.

  • Legacy step forms (where the step type is specified with type) should parse correctly
  • Scalar (i.e. non-map) block steps should parse correctly
  • Explicit env: null should parse correctly
  • Parser errors should no longer cause the pipeline to be missing steps; either errors should halt processing or unknown step types remain in the output (though these might still be rejected by buildkite.com).

⚠️ There is a remaining known issue concerning environment variable substitution in pipelines. When environment variables that are defined as null at the top level of a pipeline upload are substituted, they will no longer fall back to values defined in the environment of the buildkite-agent. For example, if you had a pipeline

env:
  FOO: null
steps:
- command: echo "FOO=$FOO"

and upload the pipeline as

FOO=fromJob buildkite-agent pipeline upload

the uploaded pipeline was previously equivalent to:

env:
  FOO: null
steps:
- command: echo "FOO=fromJob"

but now, the null value will result in an empty string being substituted instead.

To work around this, we recommend you defined the fallback manually like so:

env:
  FOO: ${FOO:-}
steps:
- command: echo "FOO=$FOO"

Fixed

Changed

  • Remove docker-compose v1 from ubuntu 22.04 and replace with compatibility script #2248 (@triarius)
  • Authentication failure errors when using S3 now mention BUILDKITE_S3_PROFILE and AWS_PROFILE #2247 (@DrJosh9000)

Internal