An error occurred while fetching the assigned iteration of the selected issue.
Allow variables to be defined based on rules
Proposal
Enhance the CI syntax to support setting different values to variables based on rules. Something like
rules:
- if: '$ee == true || $CI_COMMIT_BRANCH =~ /^.*-ee$/ || $CI_COMMIT_TAG =~ /^.*ee\.\d.*$/ || $CI_COMMIT_TAG =~ $AUTO_DEPLOY_TAG_REGEX'
variables:
EDITION: "Enterprise Edition"
- if: '$ce == true || $CI_COMMIT_TAG =~ /^.*ce\.\d.*$/'
variables:
EDITION: "Community Edition"
If we could do that, it might be a good alternative to #337284