Skip to content

ci: restore packages from private Azure Artifacts feed - #188

Open
Gavin Barron (gavinbarron) wants to merge 1 commit into
mainfrom
gavinbarron-private-artifacts-feed-pipeline
Open

ci: restore packages from private Azure Artifacts feed#188
Gavin Barron (gavinbarron) wants to merge 1 commit into
mainfrom
gavinbarron-private-artifacts-feed-pipeline

Conversation

@gavinbarron

@gavinbarron Gavin Barron (gavinbarron) commented Aug 19, 2026

Copy link
Copy Markdown
Member

Description

Ports the ADO pipeline (.azure-pipelines/ci-build.yml) to restore NuGet packages from the private GraphDeveloperExperiences_Public Azure Artifacts feed, following the pattern established in msgraph-sdk-dotnet's ci-build.yml.

In the build job, immediately after the existing NuGetToolInstaller step:

  1. NuGetAuthenticate@1 — authenticates the build agent to Azure Artifacts.
  2. Create nuget.config — generates a config with <clear /> (removes nuget.org) and the single GraphDeveloperExperiences_Public feed source at $(Build.SourcesDirectory)/nuget.config.
  3. dotnet restore — restores kibali.sln with feedsToUse: config and nugetConfigPath pointing at the generated config.
  4. The build step now passes --no-restore so it uses the authenticated restore output. The test step already ran with --no-build.

Note: requires the pipeline build identity to have read access to the GraphDeveloperExperiences_Public feed. The feed URL is hardcoded to match msgraph-sdk-dotnet's release pipeline; the nuget.config is generated at build time and not committed, so local builds are unaffected.

Related Issues

Testing Done

YAML syntax validated locally. Pipeline behavior can only be fully verified on an ADO run.

  • dotnet build passes
  • dotnet test passes

Checklist

  • No breaking changes introduced
  • Documentation updated (if applicable) — N/A
  • Tests added or updated for new functionality — N/A (CI config change)
  • Code follows existing project conventions
Microsoft Reviewers: Open in CodeFlow

Follow the msgraph-sdk-dotnet pattern: authenticate to Azure Artifacts, generate a nuget.config pointing at the GraphDeveloperExperiences_Public feed, and restore against it before building.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: de2aa252-29a0-42a1-8236-2c2359aaabe2
@gavinbarron
Gavin Barron (gavinbarron) requested a review from a team as a code owner August 19, 2026 02:10
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.

2 participants