Skip to content

Draft: CI Pipelines: allow default values for variables

What does this MR do and why?

Allow bash-style fallback in CI variables, e.g.

variables:
  TAG_OR_MAIN_BRANCH: "${CI_COMMIT_TAG:-main}"

This would expand to a git tag (if present) or to "main".

See &7437

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Timm Fitschen

Merge request reports