CI: label VirtualMachineInstance with PR id and pipeline ids (#12716)

Helps with CI debuggability
This commit is contained in:
Max Gautier
2025-11-17 10:21:39 +00:00
committed by GitHub
parent 1c008d79b1
commit 6115eba3c3

View File

@@ -14,6 +14,8 @@ metadata:
kubevirt.io/size: small kubevirt.io/size: small
ci_job_id: "{{ ci_job_id }}" ci_job_id: "{{ ci_job_id }}"
ci_job_name: "{{ lookup('ansible.builtin.env', 'CI_JOB_NAME_SLUG') }}" ci_job_name: "{{ lookup('ansible.builtin.env', 'CI_JOB_NAME_SLUG') }}"
ci_pipeline_id: "{{ lookup('ansible.builtin.env', 'CI_PIPELINE_ID') }}"
ci_pr_id: "{{ lookup('ansible.builtin.env', 'PR_ID') }}"
# leverage the Kubernetes GC for resources cleanup # leverage the Kubernetes GC for resources cleanup
ownerReferences: ownerReferences:
- apiVersion: v1 - apiVersion: v1