Skip to content

Add automated Samples feed hydration - #658

Open
Scott Jones (Scottj1s) wants to merge 4 commits into
mainfrom
copilot/samples-feed-hydration-bootstrap
Open

Add automated Samples feed hydration#658
Scott Jones (Scottj1s) wants to merge 4 commits into
mainfrom
copilot/samples-feed-hydration-bootstrap

Conversation

@Scottj1s

Copy link
Copy Markdown
Member

Summary

  • add a protected-branch pipeline that hydrates the complete Samples package closure into WinAppSDK-SampleDeps
  • select the dependency graph with the queue-time SamplesBranch variable while keeping automation on a trusted YAML branch
  • always remove the temporary NuGet Gallery upstream and validate the saved closure in a separate unauthenticated job
  • document the bootstrap process that runs hydration before the public NuGet configuration is simplified

Rollout

This PR intentionally does not change Samples/nuget.config. After it merges, create the shine pipeline, run it with SamplesBranch=main, and require hydration plus anonymous validation to pass before merging the separate single-source configuration PR.

Hydrate a selected protected branch through the public feed, always remove the temporary NuGet Gallery upstream, and validate the saved package closure anonymously.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 26f0def2-a93d-4d41-a610-c6c6fa760d7e
Describe how to hydrate main from trusted automation before the public NuGet configuration changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 26f0def2-a93d-4d41-a610-c6c6fa760d7e
Treat an omitted deletedDate property as an active feed upstream under strict mode.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 26f0def2-a93d-4d41-a610-c6c6fa760d7e
Use the available BuildTools servicing version and permit the trusted bootstrap branch to validate the exact post-merge dependency graph.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 26f0def2-a93d-4d41-a610-c6c6fa760d7e
@Scottj1s

Copy link
Copy Markdown
Member Author

Bootstrap validation succeeded in Azure Pipelines run 386957:

  • hydrated the complete dependency closure from copilot/samples-feed-hydration-bootstrap;
  • disabled the temporary NuGet Gallery upstream;
  • completed the separate anonymous restore job successfully.

The checked-in Samples/nuget.config is intentionally unchanged by this PR.

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.

1 participant