Add CI_RUNNER_VERSION, CI_RUNNER_REVISION, and CI_RUNNER_EXECUTABLE_ARCH job environment variables
What does this MR do?
Adds pre-defined environment variables:
-
CI_RUNNER_VERSION
(likeCI_SERVER_VERSION
except for the runner that is executing the job) CI_RUNNER_REVISION
CI_RUNNER_EXECUTABLE_ARCH
Why was this MR needed?
One example use case is for medical software where it's important to check that the version of the runner matches what was validated.
Does this MR meet the acceptance criteria?
-
Documentation created/updated - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Branch has no merge conflicts with master
(if you do - rebase it please)
What are the relevant issue numbers?
- Closes #2982 (closed)
- Gitlab documentation MR: gitlab-org/gitlab-ce!16834