Use template variables to control build and tests
In !12 (merged) , we introduced a variable DISABLE_BUILD_TEST to judge whether include sast and test templates or not. But this variable does not work properly because the value of DISABLE_BUILD_TEST if rendered in workflow
which does not affect include
.
A workaround is using the variables in template to disable all templated jobs so that we can make sure that autodeploy does not create build and test jobs.