Skip to content

Conversation

@rmarinho
Copy link
Member

Description of Change

Update to new pipeline files

Copilot AI review requested due to automatic review settings October 29, 2025 11:18
@rmarinho rmarinho changed the title Update with new pipelines [ci] Update with new pipelines Oct 29, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the CI pipeline configuration to introduce separate build pools for internal and public builds, streamline pool parameter definitions, and adjust settings for official builds. The changes ensure proper routing of build jobs based on whether they're triggered by PRs or internal processes.

Key Changes:

  • Replaced the single PackPlatform parameter with separate WindowsPool and MacOSPool parameters that define both internal and public pool configurations
  • Added conditional logic throughout to select appropriate pools and runAsPublic settings based on the build definition name
  • Removed PR-triggered unit tests from the official build pipeline

Reviewed Changes

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

File Description
eng/pipelines/ci.yml Restructures pool parameters to support internal/public builds, removes internal/release/* branch trigger, and applies conditional pool selection throughout all pipeline stages
eng/pipelines/ci-official.yml Removes PR-triggered unit tests stage and adds enableMicrobuild and publishAssets flags to the pack stage

Comment on lines +104 to +111
${{ if eq(variables['Build.DefinitionName'], 'maui-pr') }}:
helixPool: ${{ parameters.WindowsPool.public }}
runAsPublic: true
helixInternal: 'False'
${{ else }}:
helixPool: ${{ parameters.WindowsPool.internal }}
runAsPublic: false
helixInternal: 'True'
Copy link

Copilot AI Oct 29, 2025

Choose a reason for hiding this comment

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

The conditional logic ${{ if eq(variables['Build.DefinitionName'], 'maui-pr') }} is duplicated across multiple stages (helix-tests, pack, build, unit-tests, and template-tests). Consider extracting this to a computed variable or parameter at the top level to reduce duplication and improve maintainability.

Copilot uses AI. Check for mistakes.
@rmarinho rmarinho merged commit 2a1ddfc into release/10.0.1xx Oct 29, 2025
4 checks passed
@rmarinho rmarinho deleted the update-release branch October 29, 2025 11:19
@rmarinho rmarinho added this to the .NET 10.0 GA milestone Oct 29, 2025
@rmarinho
Copy link
Member Author

/backport to net10.0

@github-actions
Copy link
Contributor

Started backporting to net10.0 (link to workflow run)

@github-actions github-actions bot locked and limited conversation to collaborators Nov 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants