Fail on unknown vars
What does this MR do?
It detects undefined variables early on and not running job script if vars can't be resolved.
This is how it fails if one uses wrong var in variables:
:
This is an example if undefined var used in image:
:
Why was this MR needed?
It adds safety to the process, it is akin changing run-time error into compile time error - more checks are done, before actual job is started. It is important for long multi-stage pipelines.
Does this MR meet the acceptance criteria?
-
Documentation created/updated - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Branch has no merge conflicts with master
(if you do - rebase it please)
What are the relevant issue numbers?
Edited by 🤖 GitLab Bot 🤖