Hi all,
I have the following gitlab-ci.yaml
variables:
# project name value will be used to prefix DAG names (should be lowercase with underscores instead of dashes)
PROJECT_DOMAINS: demo1 demo2 demo3
DOMAINS: ${PROJECT_DOMAINS// /$','} #
stages:
- test
test:
stage: test
script: echo "$PROJECT_DOMAINS"
parallel:
matrix:
- DOMAIN: [$DOMAINS]
tags: [ bi ]
It is not working and not getting the values for DOMAINS in the global variable.
My question is how can I achieve this?
Thanks