Skip to content

Create a script to generate the Microsoft.WSL.TestData nuget package - #41405

Open
Blue (OneBlue) wants to merge 1 commit into
masterfrom
user/oneblue/test-data-script
Open

Create a script to generate the Microsoft.WSL.TestData nuget package#41405
Blue (OneBlue) wants to merge 1 commit into
masterfrom
user/oneblue/test-data-script

Conversation

@OneBlue

Copy link
Copy Markdown
Collaborator

Summary of the Pull Request

This change adds a script to generate the testdata nuget folder. This will make it easier to update that package in the future

PR Checklist

  • Closes: Link to issue #xxx
  • Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • Tests: Added/updated if needed and all pass
  • Localization: All end user facing strings can be localized
  • Dev docs: Added/updated if needed
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Copilot AI lite review requested due to automatic review settings August 20, 2026 23:25
@OneBlue
Blue (OneBlue) requested a review from a team as a code owner August 20, 2026 23:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a PowerShell workflow to generate the Microsoft.WSL.TestData NuGet package.

Changes:

  • Generates architecture-specific Docker images and Azure Linux RPMs.
  • Packages generated test data with NuGet.
  • Normalizes registry entrypoint line endings.
  • Removes superseded helper scripts.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Summary
tools/test/pack-test-data.ps1 Removed superseded packaging helper.
tools/test/images/wslc-registry/Dockerfile Normalizes registry entrypoint line endings.
tools/test/generate-test-data.ps1 Generates and packages test data; its shared working directory can be deleted or overwritten by concurrent invocations.
tools/test/download-test-data-rpms.ps1 Removed superseded RPM downloader.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

$ErrorActionPreference = "Stop"
Set-StrictMode -Version Latest

$WorkingDirectory = Join-Path $PSScriptRoot "test-data"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants