Expose CI_JOB_IMAGE env var on build environment
What does this MR do?
This MR adds a CI_JOB_IMAGE
environment variable to the build environment.
Why was this MR needed?
There are customers who need to know which image is currently being used for the runner, either for telemetry purposes or in order to adapt scripts to the host image (see #4888 (closed)).
Are there points in the code the reviewer needs to double check?
- I've created a doc MR to the predefined variables documentation, but I need some guidance on the process to create a new entry in the changelog. Do I need to create an entry, as per this article?
- Do we want to keep
CUSTOM_ENV_CI_IMAGE_JOB
? There was a comment in the MR mentioning the possibility of removing it.
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master
- branch was rebased
What are the relevant issue numbers?
Closes #4888 (closed)
Edited by Pedro Pombeiro