Skip to content

Commit

Permalink
DevOpsLib: Ingest connectivity, longhaul, stress data into database f…
Browse files Browse the repository at this point in the history
…or test dashboard (Azure#2575)

We do not currently ingest vsts build api data for our connectivity, longhaul, or stress tests.
  • Loading branch information
and-rewsmith authored Feb 25, 2020
1 parent 4277d66 commit d678cf7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
9 changes: 8 additions & 1 deletion tools/IoTEdgeDevOps/DevOpsLib/BuildDefinitionId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ public enum BuildDefinitionId
EdgeletRelease = 31845,
EndToEndTest = 87020,
ImageRelease = 31987,
LibiohsmCI = 39853
LibiohsmCI = 39853,
ConnectivityTest = 108949,
LonghaulTestEnv1 = 66429,
LonghaulTestEnv2 = 93654,
LonghaulTestEnv3 = 93725,
StressTestEnv1 = 66357,
StressTestEnv2 = 96102,
StressTestEnv3 = 96103,
}
}
16 changes: 15 additions & 1 deletion tools/IoTEdgeDevOps/DevOpsLib/BuildExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ public static class BuildExtension
BuildDefinitionId.LibiohsmCI,
BuildDefinitionId.BuildImages,
BuildDefinitionId.EdgeletPackages,
BuildDefinitionId.EndToEndTest
BuildDefinitionId.EndToEndTest,
BuildDefinitionId.ConnectivityTest,
BuildDefinitionId.LonghaulTestEnv1,
BuildDefinitionId.LonghaulTestEnv2,
BuildDefinitionId.LonghaulTestEnv3,
BuildDefinitionId.StressTestEnv1,
BuildDefinitionId.StressTestEnv2,
BuildDefinitionId.StressTestEnv3
};

public static string DisplayName(this BuildDefinitionId buildDefinitionId)
Expand All @@ -28,6 +35,13 @@ public static string DisplayName(this BuildDefinitionId buildDefinitionId)
{ BuildDefinitionId.EndToEndTest, "End-to-End Test" },
{ BuildDefinitionId.ImageRelease, "Image Release" },
{ BuildDefinitionId.LibiohsmCI, "Libiohsm CI" },
{ BuildDefinitionId.ConnectivityTest, "Connectivity Test" },
{ BuildDefinitionId.LonghaulTestEnv1, "Longhaul Test" },
{ BuildDefinitionId.LonghaulTestEnv2, "Longhaul Test Release Candidate" },
{ BuildDefinitionId.LonghaulTestEnv3, "Longhaul Test Release" },
{ BuildDefinitionId.StressTestEnv1, "Stress Test" },
{ BuildDefinitionId.StressTestEnv2, "Stress Test Release Candidate" },
{ BuildDefinitionId.StressTestEnv3, "Stress Test Release" },
};

return definitionIdToDisplayNameMapping.ContainsKey(buildDefinitionId) ? definitionIdToDisplayNameMapping[buildDefinitionId] : buildDefinitionId.ToString();
Expand Down

0 comments on commit d678cf7

Please sign in to comment.