Skip to content

Artifact/cache helpers now use POSIX shell syntax for expansion

Arran Walker requested to merge 29370-posix-expansion into main

What does this MR do?

  • Removes Runner expansion on Release script: no need for Runner to pre-expanded script.
  • Removes Runner expansion occurring for artifact:name, artifact:paths and cache:paths. These fields will remain fully escaped and won't be expanded by the shell.
  • Adds POSIX shell expansion syntax support for the Artifact and Cache helpers.

Why was this MR needed?

This addresses #29370 (closed), where many customers were relying on their shell to expand variables. This change now supports POSIX-shell supported expansion, without needing the defined shell to perform this task.

What's the best way to test this MR?

Test a job with an artifact/cache and use POSIX-syntax to expand a variable in the path or name.

What are the relevant issue numbers?

Closes #29370 (closed)

Merge request reports

Loading