Skip to content

Conversation

@paulmedynski
Copy link
Contributor

Overview

As part of the Azure split work, a new Abstractions package is being created that contains types shared between MDS and its future extensions (Azure will be the first). This PR contains the YAML pipeline changes for CI and Official builds.

This supercedes the original PRs #3471 and #3567.

This depends on PR #3626.

Issues

The first step towards #1108.

Testing

  • Manual inspection of all artifacts produced by the pipelines.

@paulmedynski paulmedynski added this to the 7.0-preview2 milestone Sep 23, 2025
@priyankatiwari08 priyankatiwari08 self-assigned this Sep 23, 2025
@paulmedynski paulmedynski force-pushed the dev/paul/azure-split/abstractions-code branch from 96b8487 to 383a354 Compare September 23, 2025 20:42
@paulmedynski paulmedynski force-pushed the dev/paul/azure-split/abstractions-pipelines branch from b02a214 to 49ec317 Compare September 24, 2025 13:46
@paulmedynski
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@codecov
Copy link

codecov bot commented Sep 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (feat/azure-split@2843bdd). Learn more about missing BASE report.

Additional details and impacted files
@@                 Coverage Diff                 @@
##             feat/azure-split    #3628   +/-   ##
===================================================
  Coverage                    ?   90.82%           
===================================================
  Files                       ?        6           
  Lines                       ?      316           
  Branches                    ?        0           
===================================================
  Hits                        ?      287           
  Misses                      ?       29           
  Partials                    ?        0           
Flag Coverage Δ
addons 90.82% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@paulmedynski paulmedynski changed the title [DRAFT] Abstractions Package - Pipeline Changes Abstractions Package - Pipeline Changes Sep 25, 2025
@paulmedynski paulmedynski marked this pull request as ready for review September 25, 2025 15:29
@paulmedynski paulmedynski requested a review from a team as a code owner September 25, 2025 15:29
Copy link
Contributor Author

@paulmedynski paulmedynski left a comment

Choose a reason for hiding this comment

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

Commentary for reviewers, and some actions for myself.

@paulmedynski
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@paulmedynski
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@paulmedynski
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor Author

@paulmedynski paulmedynski left a comment

Choose a reason for hiding this comment

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

Commentary for reviewers.

Base automatically changed from dev/paul/azure-split/abstractions-code to feat/azure-split September 30, 2025 18:11
@paulmedynski paulmedynski force-pushed the dev/paul/azure-split/abstractions-pipelines branch 2 times, most recently from 75eb084 to 181aa0c Compare September 30, 2025 18:23
@mdaigle mdaigle self-assigned this Sep 30, 2025
mdaigle
mdaigle previously approved these changes Oct 1, 2025
Copy link
Contributor

@mdaigle mdaigle left a comment

Choose a reason for hiding this comment

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

Overall, things look good to me. I think it would be helpful to have a walkthrough of a pipeline run to show us the different build artifacts, their version numbers, etc. so that we can see how it all fits together in the end.

Copy link
Contributor Author

@paulmedynski paulmedynski left a comment

Choose a reason for hiding this comment

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

Commentary for reviewers.

- Removed addition of PDBs from <AllowedOutputExtensionsInPackageBuildOutputFolder>.
- Removed MDS package ref dependency on Abstractions until pipelines are ready.
- Renamed AbstractionsPackage to Abstractions in targets.
- Updated BUILDGUIDE based on project ref behaviour.
- Added feature branches to CI pipeline triggers.
- Added missing/incomplete paths to the trigger.
- Added dev/* branches to the CI triggers so PRs that target other dev/ branches can run CI.
- Added missing MdsPackageVersion property to signed build pipeline job.
- Commented-out failing NuGet tool installer task.
- Re-ordered Guardian analysis step _before_ build step to avoid clobbering versioned DLLs.
- Added MDS package version to AKV build/package steps.
- Restored AKV nuspec ReferenceType property for AKV Official builds.
- Explicitly building tooling before analysis.
- Fixing validation steps to match XML props files.
- Added PR automation triggers, and documented other pipeline sections.
- Added ReferenceType throughout the MDS/AKV CI build steps.
- Added NuGet.config update to main CI build step for Package reference mode.
- Swapped Abstractions download and NuGet.config update to ensure packages/ exists before attempting to re-configure NuGet.
- Clean target no longer removes packages/
- Uncommented package refs to Abstractions.
- Added separate MDS and AKV project builds to support Package mode.
- Added $ReferenceType$ property to MDS .nuspec like it is for AKV.
- Removed obsolete version variables from merge conflict.
- Added MDS package version to AKV official build steps for Package mode.
- Moved Roslyn analysis above build steps to avoid Roslyn clobbering artifacts.
- Removed obsolete code scanning.
@paulmedynski paulmedynski force-pushed the dev/paul/azure-split/abstractions-pipelines branch from 7d99049 to c02e97d Compare October 9, 2025 17:49
Copy link
Contributor Author

@paulmedynski paulmedynski left a comment

Choose a reason for hiding this comment

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

Tracking my own review progress.

@samsharma2700 samsharma2700 self-assigned this Oct 14, 2025
@cheenamalhotra cheenamalhotra requested a review from a team October 15, 2025 18:32
Copy link
Contributor

@mdaigle mdaigle left a comment

Choose a reason for hiding this comment

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

One question. otherwise looks good

@paulmedynski paulmedynski merged commit a60a025 into feat/azure-split Oct 16, 2025
260 checks passed
@paulmedynski paulmedynski deleted the dev/paul/azure-split/abstractions-pipelines branch October 16, 2025 16:23
paulmedynski added a commit that referenced this pull request Nov 17, 2025
Abstractions Package - Pipeline Changes (#3628)
Move AAD/Entra Authentication into new Azure package (#3680)
User Story 39839: Move existing MDS tests to Azure package

- Identified and moved tests specific to ActiveDirectoryAuthenticationProvider into the Azure Test project.
- Updated some MDS tests that unnecessarily used ActiveDirectoryAuthenticationProvider.
- Added tests to Abstractions Test project to ensure AAD/Entra auth fails when the Azure package isn't present.
- Various build and pipeline changes to support the test changes.
- Fixed project-based builds so we can restore MDS netcore and netfx projects at the same time.
- Added caching to the managed identity provider for the ManualTest project.
- Moved username/password Entra auth provider into its own file for sharing across tests.
- Added ADO service connection for test tasks that require access to Azure resources.
- Added workload identity federation tests.
- Solved the mystery of SNI DLLs missing for .NET Framework project-reference-based builds.
- Added ADO-CI-1ES pool jobs to test the Azure package on Linux and Windows.
- Fixed Azure package pipelines to support pools in the ADO.Net and Public projects.
- Added some new pipeline variables to handle the Workload Identity Federation test.
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.

6 participants