Stage isolation_session test collateral into the OS vpack#583
Open
bbonaby wants to merge 2 commits into
Open
Conversation
Add an isolation_session/main/ tree to the OS vpack containing the current isolation_session PowerShell scripts (tests/scripts/*isolation_session*) and configs (tests/configs/*isolation_session*), under scripts/ and configs/ subfolders, so the OS side can run these tests from the package. Also disable the deprecated Guardian evidence v1 job (globalSdl.evidence) in favor of evidenceV2 for the vpack pipeline. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Packages IsolationSession test collateral into the OS vpack output so OS-side automation can run the same tests/scripts + tests/configs assets from the produced package, and updates the vpack pipeline to use the newer SDL evidence job format.
Changes:
- Disable
globalSdl.evidence(v1) and enableglobalSdl.evidenceV2(v2) in the vpack packaging pipeline template. - Add a PowerShell step to stage
*isolation_session*scripts/configs into$(ob_outputDirectory)\isolation_session\main\{scripts,configs}.
Address PR review feedback: enumerate the *isolation_session* matches first and throw a targeted error if either pattern matches nothing, instead of relying on a generic Copy-Item wildcard error. Also sets ErrorActionPreference to Stop so a stale/empty pattern fails the step rather than silently producing an empty isolation_session/main folder in the vpack. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Collaborator
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📖 Description
Adds an
isolation_session/main/tree to the OS vpack so the OS side can run the isolation_session tests from the package. The new step copies the current*isolation_session*PowerShell scripts (tests/scripts/) and configs (tests/configs/) intoscripts/andconfigs/subfolders. Also disables the deprecated Guardian evidence v1 job (globalSdl.evidence) in favor ofevidenceV2for the vpack pipeline.🔗 References
🔍 Validation
Pipeline-only change (no shipping code). Validated locally: YAML parses; the embedded PowerShell parses; the copy globs resolve to 3 scripts and 46 configs against the current tree. Full validation on first
MXC-PR-Buildrun.✅ Checklist
📋 Issue Type
Microsoft Reviewers: Open in CodeFlow