From e86923f67092c211422b99cb84604bd9d1ff247f Mon Sep 17 00:00:00 2001 From: Logan Bussell Date: Wed, 11 Mar 2026 13:06:33 -0700 Subject: [PATCH] Move ImageBuilder tests to pre-build validation ImageBuilder tests are pure dotnet test runs that don't need built container images. Move them from the Test stage (multi-platform matrix) to PreBuildValidation (single Linux AMD64 job in the Build stage) by swapping testScriptPath and preBuildTestScriptPath. This skips the entire Test stage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/pipelines/templates/variables/image-builder.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/variables/image-builder.yml b/eng/pipelines/templates/variables/image-builder.yml index 74dcbc37..7f4575ed 100644 --- a/eng/pipelines/templates/variables/image-builder.yml +++ b/eng/pipelines/templates/variables/image-builder.yml @@ -14,8 +14,8 @@ variables: - name: imageInfoVariant value: "-imagebuilder" - name: testScriptPath - value: ./src/run-tests.ps1 + value: "" - name: testResultsDirectory value: src/ImageBuilder.Tests/TestResults/ - name: preBuildTestScriptPath - value: "" + value: ./src/run-tests.ps1