Skip to content

Sync eng/common directory with azure-sdk-tools for PR 16356#10149

Merged
chidozieononiwu merged 1 commit into
mainfrom
sync-eng-common-enforceCFSClean-16356
Jul 17, 2026
Merged

Sync eng/common directory with azure-sdk-tools for PR 16356#10149
chidozieononiwu merged 1 commit into
mainfrom
sync-eng-common-enforceCFSClean-16356

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#16356 See eng/common workflow

Copilot AI review requested due to automatic review settings July 17, 2026 17:13
@azure-sdk-automation
azure-sdk-automation Bot requested a review from a team as a code owner July 17, 2026 17:13
@azure-sdk-automation azure-sdk-automation Bot added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Jul 17, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Adds an Azure Pipelines step template to standardize authentication against an Azure DevOps Python package feed, with optional support for Twine, pip, and uv.

Changes:

  • Introduces a reusable pipeline template for selecting the appropriate DevOps feed (public vs internal PR feed).
  • Adds conditional TwineAuthenticate and PipAuthenticate steps based on parameters.
  • Configures uv to use the authenticated pip index URL and sets a Python install mirror.

Comment on lines +35 to +40
if ($env:PIP_INDEX_URL) {
Write-Host "Found pip index URL: $($env:PIP_INDEX_URL)"
# UV_DEFAULT_INDEX is the canonical replacement for the deprecated UV_INDEX_URL (uv 0.4.23+).
# PIP_INDEX_URL is set by PipAuthenticate@1 and contains embedded credentials, which uv
# will use for Basic auth against the ADO feed (and its PyPI upstream) per astral-sh/uv#12651.
Write-Host "##vso[task.setvariable variable=UV_DEFAULT_INDEX]$($env:PIP_INDEX_URL)"
Comment on lines +40 to +42
Write-Host "##vso[task.setvariable variable=UV_DEFAULT_INDEX]$($env:PIP_INDEX_URL)"
# Disable keyring so uv uses the URL-embedded credentials directly.
Write-Host "##vso[task.setvariable variable=UV_KEYRING_PROVIDER]disabled"
Comment on lines +43 to +45
} else {
Write-Host "##[warning]PIP_INDEX_URL not set - uv will fall back to public PyPI."
}
@chidozieononiwu
chidozieononiwu merged commit fefad2c into main Jul 17, 2026
8 of 9 checks passed
@chidozieononiwu
chidozieononiwu deleted the sync-eng-common-enforceCFSClean-16356 branch July 17, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants