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 committed by Giuliano Mega
parent 05e7914fc2
commit 8d83c7e66c

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());