Skip to content

Add .NET CI.yml parameter provisioning#14483

Draft
m-redding wants to merge 1 commit intoAzure:mainfrom
m-redding:net-ci-yml-provisioning
Draft

Add .NET CI.yml parameter provisioning#14483
m-redding wants to merge 1 commit intoAzure:mainfrom
m-redding:net-ci-yml-provisioning

Conversation

@m-redding
Copy link
Member

Summary

Implements \ApplyLanguageCiParameters\ override in \DotnetLanguageService\ to parse .NET-specific CI pipeline parameters from \ci*.yml\ files.

Parameters supported:

  • BuildSnippets (default: true) — whether to build code snippets from samples
  • CheckAOTCompat (default: false) — whether to run AOT compatibility checks
  • AOTTestInputs (default: null) — AOT test input configurations

Changes:

  • Added \ApplyLanguageCiParameters\ override in \DotnetLanguageService.cs\
  • Added \DotnetCiPipelineYamlParameters\ internal class for YAML deserialization
  • 8 tests covering: YAML parsing, defaults, \ci.mgmt.yml, multi-artifact, and null/missing scenarios

Pattern:

Follows the same approach as \GoLanguageService.ApplyLanguageCiParameters.

Fixes #13807

Implement ApplyLanguageCiParameters override in DotnetLanguageService to
parse .NET-specific CI pipeline parameters (BuildSnippets, CheckAOTCompat,
AOTTestInputs) from ci*.yml files.

Follows the same pattern as GoLanguageService. Adds DotnetCiPipelineYamlParameters
class for YAML deserialization with sensible defaults.

Includes 8 tests covering YAML parsing, defaults, ci.mgmt.yml, and
multi-artifact scenarios.

Fixes Azure#13807

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions bot added the azsdk-cli Issues related to Azure/azure-sdk-tools::tools/azsdk-cli label Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azsdk-cli Issues related to Azure/azure-sdk-tools::tools/azsdk-cli

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[.NET] Support CI.yml provisioning and updates

1 participant