Draft: Provide CI_JOB_CONFIG_JSON variable with raw json of job object.
This pull request is currently only the basis for a brainstorming/suggestion to the issue #17735 "Show job configuration"
What does this MR do and why?
Provide the job configuration as predefine CI variable.
How to set up and validate locally
- create .gitlab-ci.yml
- echo $CI_JOB_CONFIG_JSON
- check if configuration is shown in job
ci_job_config_json_test_job:
script:
- echo $CI_JOB_CONFIG_JSON
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.