Expand Manager-provided labels

Description

My company is running a fleet of private runners for our hosted Gitlab, in GCP Kubernetes Engine using an Autopilot cluster. Some runners are dedicated to certain projects, but most of them are "free-for-all" in the sense that they are generic enough that all company projects/products can leverage the same infrastructure.

For tracking costs associated with each project, I want to be able to create reports on our spending and separate each project's usage. Currently, the relevant information is only exported via K8S annotations that are not propagated to spending reports in GCP. Pod labels, however, are, but the only default pod label is s.Build.ProjectUniqueName() (kubernetes.go:2004).

There is other information available in the same scope, though.

Proposal

I propose exporting JobInfo::ProjectName and perhaps JobInfo::ProjectID as default labels on the job executor pod as well.

Links to related issues and merge requests / references

Edited by Zalan Meggyesi