Backend: Surface pre-defined variables used by a job in the job detail page
This is the backend issue for #370111 (closed)
Proposal
Load the variables through a new query that only fetches when the user switches to the tab and has permission to view the variables. The Fetched variables should be:
- Pre-defined variables
- Not masked
There are additional variables that we need to make sure are excluded as well list is mentioned in this thread #370111 (comment 1197928631) Most variables from that list are already masked so the proposal should convert them, but we need to double check
further details
- We should not hard code the variables name since we need to make sure that any mask variable will remain hidden from the user
- Runner variables are masked so we are ok from this aspect
- We should probably handle CI_REPOSITORY_URL separately
Edited by Dov Hershkovitch