Skip to content

Include the name of the node on where the job was executed in the GitLab Runner logs when using the Kubernetes executor

What does this MR do?

Expose NODE_NAME (from kubernetes spec.nodeName) as Env var in container build and write node name value to the console.

Running on runner-eyuic7gu-project-922-concurrent-0g5ljz on node worker001 via instance-runner-gitlab-runner-668cd967df-5xtzq

Why was this MR needed?

Needed for debugging performance issue in the cluster due to specific node.

What are the relevant issue numbers?

Reference in issue #28233

Merge request reports