Do not allow users to overwrite CI_JOB_TOKEN value
Problem
Users can overwrite CI_JOB_TOKEN
or JWT token, among others, which can cause issues as we've seen.
Proposal
-
Add a warning note in the predefined variables documentation saying that these should not be overwritten anywhere or the pipeline could produce unexpected results. Also add a note that in 16.0 we plan to change the priority of these variables so that they can't be overwritten. -
[optional] Create an issue to be done between now and 16.0 to track when a predefined variable is overwritten (Could be a Kibana log or Prometheus counter). - #388960 (closed) -
Create an issue for 16.0 to change the priority of all predefined variables so that they can't be overwritten. #388961 (closed)
Edited by Mark Nuzzo