Skip to content

Fix inclusion of Helm values

Jack Henschel requested to merge debug-ci into master

When referencing the desired Helm values file like this:

    HELM_VALUES_FILE: ${HELM_VALUES_FILE_GO_CERN}

Gitlab CI substitutes not just the variable, but also it's content. So HELM_VALUES_FILE would become env: bar: baz ... (instead of the path to the file). Apparently, in the next version of Gitlab this behavior can be disabled (but we are still a bit away from rolling that out): https://docs.gitlab.com/ee/ci/variables/#prevent-cicd-variable-expansion

So instead we can add another level of indirection - hooray! /s

Edited by Jack Henschel

Merge request reports