v3.50.0 (2023-07-18)
This release contains multiple issues:
Severity | Description | Fixed in |
---|---|---|
Medium | When uploading pipelines, some group steps are not correctly parsed, and were ignored. | ✅ Fixed in v3.50.1 |
Low | Uploading pipelines with empty or zero-length steps failed, where they should've been a no-op.
| ✅ Fixed in v3.50.1 |
⚠️ Very High | 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 | ⏳ Fix incoming, stay tuned |
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!'"
Added
- We're working on making pipeline signing a feature of the agent! But it's definitely not ready for primetime yet... #2216, #2200, #2191, #2186, #2190, #2181, #2184, #2173, #2180 (@moskyb, @DrJosh9000)
- Add option to configure location of Job Log tmp file #2174 (@yhartanto)
- Add
avoid-recursive-trap
experiment to avoid a recursive trap #2209 (@triarius) - Load the AWS Shared Credentials for s3 operations #1730 (@lox)
Fixed
- Add workaround for
fatal: bad object
errors when fetching from a git mirror #2218 (@DrJosh9000) - Fix missing fetch when updating git mirrors of submodules (#2203) (@DrJosh9000)
- Use a unique name for each agent started using the systemd template unit file #2205 (@DavidGregory084)
- Polyglot hooks wasn't documented in EXPERIMENTS.md, so we fixed that #2169 (@moskyb)
- De-experimentify wording on the status page #2172 (@DrJosh9000)
- The secrets redactor now properly redacts multi-line secrets and overlapping secrets #2154 (@DrJosh9000)
Changed
- Print agent version and build in debug logs #2211 (@triarius)
- Include the version each experiment was promoted #2199 (@DrJosh9000)
Various code cleanups and meta-fixes
- Fix docker builds for Ubuntu 22.04 #2217 (@moskyb)
- JobRunner cleanup #2207 (@moskyb)
- Simplify command phase #2206 (@triarius)
- Rename
Bootstrap
struct (and friends) toExecutor
#2188 (@moskyb) - Upgrade docker compose plugin to v4.14, use docker compose v2 #2189 (@moskyb)
- Rename package bootstrap -> job #2187 (@moskyb)
- Clarify code around creating a process group #2185 (@triarius)
- Fix docker builds for Ubuntu 22.04 #2217 (@moskyb)
And the usual amount of @dependabot[bot] updates!