Skip to content

cbuild: Propagate variables from gitlab-ci.yml into the container

Tomeu Vizoso requested to merge tomeu/ci-templates:propagate-variables into master

It can be very convenient to let jobs influence what happens inside the container via variables in the gitlab-ci.yml files.

This avoids avoid people having to resort to the below (real example from Mesa):

FDO_DISTRIBUTION_EXEC: 'env "WINEPATH={WINEPATH}" FDO_CI_CONCURRENT={FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'

Signed-off-by: Tomeu Vizoso tomeu.vizoso@collabora.com

Merge request reports

Loading