Skip to content

Draft: Spike: Explore use of `vars` interpolation option

Avielle Wolfe requested to merge 387632-spike-vars-interpolation into master

What does this MR do and why?

Project CI/CD variables:

# unprotected

INTERPOLATION_JOB_NAME: interpolation_var_job
INTERPOLATION_VAR: var interpolation works

CI/CD config files:

# .gitlab-ci.yml

include:
    local: included.yml
# included.yml

$[[ vars.INTERPOLATION_JOB_NAME ]]:
    script: ls

included_job:
    script:
        - echo "$[[ vars.INTERPOLATION_VAR ]]"

Jobs created:

Screenshot_2023-08-24_at_18.00.12

Job output rendering variable value:

Screenshot_2023-08-24_at_18.00.29

MR acceptance checklist

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

Related to #387632 (closed)

Edited by Avielle Wolfe

Merge request reports