Skip to content

[Build] Skip build jobs in the CreateInstaller stage during Image Validation pipeline runs#6001

Merged
alexlamtest merged 1 commit intomainfrom
user/alexlam/ImageValidationImprovement-main-251113
Mar 10, 2026
Merged

[Build] Skip build jobs in the CreateInstaller stage during Image Validation pipeline runs#6001
alexlamtest merged 1 commit intomainfrom
user/alexlam/ImageValidationImprovement-main-251113

Conversation

@alexlamtest
Copy link
Copy Markdown
Contributor

@alexlamtest alexlamtest commented Nov 16, 2025

In an Agg PR pipeline run that is validating:

  • an arm test OS image, we can skip non-arm build jobs in the Createinstaller stage, as we won't be using those bits for testing an arm image.
  • a non-arm test OS image, we can skip arm build jobs in the Createinstaller stage, as we won't be using those bits for testing a non-arm image.

This change on average reduces the work in the Createinstaller stage by a half in a test OS image validation pipeline run, saving time and resources.
Currently, we are yet not skipping a build job completely, but most steps in the job are no-op'ed.
A related PR against the internal Aggregator repo disables BinSkim in CreateInstaller jobs iff we are validating a test OS image, to avoid a warning.

I see that two x64 test jobs failed. These 2 test jobs failed the same way in other PRs w/o my changes.

--
A microsoft employee must use /azp run to validate using the pipelines below.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

@alexlamtest
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@alexlamtest alexlamtest requested a review from Scottj1s November 17, 2025 18:21
@alexlamtest alexlamtest marked this pull request as ready for review November 17, 2025 18:22
@alexlamtest
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@alexlamtest alexlamtest enabled auto-merge (squash) November 17, 2025 23:07
@alexlamtest alexlamtest merged commit 3969d4d into main Mar 10, 2026
34 of 36 checks passed
@alexlamtest alexlamtest deleted the user/alexlam/ImageValidationImprovement-main-251113 branch March 10, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants