add RUNID label to all containers to make log filtering easier

This commit is contained in:
E M 2026-04-28 22:15:17 +10:00
parent 5b17395380
commit 0538ebec45
No known key found for this signature in database

View File

@ -99,6 +99,8 @@ namespace DistTestCore
{
recipe.PodLabels.Add("tests-type", TestsType);
recipe.PodLabels.Add("deployid", deployId);
var runId = Environment.GetEnvironmentVariable("RUNID");
if (!string.IsNullOrEmpty(runId)) recipe.PodLabels.Add("runid", runId);
recipe.PodLabels.Add("testid", NameUtils.GetTestId());
recipe.PodLabels.Add("category", NameUtils.GetCategoryName());
recipe.PodLabels.Add("fixturename", NameUtils.GetRawFixtureName());