Skip to content

Use Microsoft PyPI proxy in CI - #8191

Merged
Amaury Chamayou (achamayou) merged 5 commits into
mainfrom
achamayou-ci-pip-proxy
Aug 21, 2026
Merged

Use Microsoft PyPI proxy in CI#8191
Amaury Chamayou (achamayou) merged 5 commits into
mainfrom
achamayou-ci-pip-proxy

Conversation

@achamayou

@achamayou Amaury Chamayou (achamayou) commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • configure eligible self-hosted CI jobs to use the Microsoft PyPI feed proxy
  • apply the setting at workflow or job scope so direct and script-invoked pip installs inherit it
  • avoid applying the authenticated proxy to public GitHub-hosted runners

Validation

  • Continuous Integration passed on VMSS Virtual A/B/C and ACI SNP Milan/Genoa
  • Continuous Integration AL4 passed on VMSS Virtual A/B/C
  • CodeQL and Trace Validation passed
  • pip logs list only https://packagefeedproxy.microsoft.io/pypi/simple/ as the active index

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@achamayou
Amaury Chamayou (achamayou) marked this pull request as ready for review August 20, 2026 17:03
@achamayou
Amaury Chamayou (achamayou) requested a review from a team as a code owner August 20, 2026 17:03
Copilot AI lite review requested due to automatic review settings August 20, 2026 17:03

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

Configures CCF’s self-hosted GitHub Actions workflows to install Python dependencies via the Microsoft PyPI feed proxy by setting PIP_INDEX_URL at workflow/job scope, ensuring both direct and script-invoked pip installs inherit the proxy configuration while avoiding changes to GitHub-hosted runner jobs.

Changes:

  • Set PIP_INDEX_URL=https://packagefeedproxy.microsoft.io/pypi/simple/ at workflow scope for self-hosted CI workflows (CI, AL4 CI, CodeQL, Long Test, Coverage, Bencher).
  • Set PIP_INDEX_URL at job scope for targeted self-hosted container jobs in Release and CI Verification workflows.
  • Set PIP_INDEX_URL at job scope for the Bencher A/B workflow’s PR benchmark job.

Custom instructions used:

  • .github/copilot-instructions.md
  • .github/instructions/reviewing.instructions.md

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/release.yml Sets PIP_INDEX_URL for the self-hosted build_release job to route pip installs through the proxy.
.github/workflows/long-test.yml Adds workflow-level PIP_INDEX_URL for self-hosted long-test jobs.
.github/workflows/coverage.yml Adds workflow-level PIP_INDEX_URL so coverage workflow pip installs use the proxy.
.github/workflows/codeql-analysis.yml Adds workflow-level PIP_INDEX_URL for self-hosted CodeQL workflow dependency installs.
.github/workflows/ci.yml Adds workflow-level PIP_INDEX_URL for the main self-hosted CI workflow.
.github/workflows/ci-verification.yml Sets PIP_INDEX_URL only for the self-hosted trace-validation container job (does not affect ubuntu-latest jobs).
.github/workflows/ci-al4.yml Adds workflow-level PIP_INDEX_URL for AL4 self-hosted CI jobs.
.github/workflows/bencher.yml Adds workflow-level PIP_INDEX_URL for self-hosted benchmark workflow.
.github/workflows/bencher-ab.yml Adds job-level PIP_INDEX_URL for the self-hosted PR benchmark job.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@achamayou

Copy link
Copy Markdown
Member Author

Eddy Ashton (@eddyashton) Also moved to workflow scope as on the NPM PR.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 62c80871-749a-4a62-841b-b140c32d600c
@achamayou
Amaury Chamayou (achamayou) merged commit 9dd11cf into main Aug 21, 2026
34 of 36 checks passed
@achamayou
Amaury Chamayou (achamayou) deleted the achamayou-ci-pip-proxy branch August 21, 2026 14:23
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.

3 participants