v3.50.1
v3.50.1 (2023-07-20)
This release contains multiple issues:
Severity | Description | Fixed in |
---|---|---|
Jobs running on this version of the agent are not cancellable from the UI/API | ✅ Fixed in v3.50.2 | |
Medium | When uploading pipelines, if any object in the pipeline YAML contained multiple merge keys, the pipeline would fail to parse. See below for a workaround | ✅ Fixed in v3.50.3 |
Workaround for yaml merge key issue
For example, this pipeline would fail to parse:default_plugins: &default_plugins
plugins:
- docker#4.0.0:
image: alpine:3.14
default_retry: &default_retry
retry:
automatic:
- exit_status: 42
steps:
- <<: *default_plugins
<<: *default_retry
command: "echo 'hello, world!'"
As a workaround for this, you can use yaml array merge syntax instead:
default_plugins: &default_plugins
plugins:
- docker#4.0.0:
image: alpine:3.14
default_retry: &default_retry
retry:
automatic:
- exit_status: 42
steps:
- <<: [*default_plugins, *default_retry]
command: "echo 'hello, world!'"
Fixed
- Empty or zero-length
steps
is no longer a parser error, and is normalised to [] instead #2225, #2229 (@DrJosh9000) - Group steps now correctly include the
group
key #2226 (@DrJosh9000) - Increases to test coverage for the new parser #2227 (@DrJosh9000)