Skip to content

fix(ci): use aliyun pypi mirror for woodpecker - #643

Merged
delete-cloud merged 1 commit into
mainfrom
fix/woodpecker-aliyun-index
Jun 27, 2026
Merged

delete-cloud merged 1 commit into
mainfrom
fix/woodpecker-aliyun-index

Conversation

@delete-cloud

@delete-cloud delete-cloud commented Jun 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

Verification

  • woodpecker-cli lint .woodpecker/ci.yml
  • git diff --check

Context

The #642 fix got the o6n build past pip install uv, but Woodpecker #150 hung for ~40 minutes during uv sync large wheel downloads through the TUNA mirror. This changes only the CI package mirror so the next Forgejo main build can produce the immutable image tag.

Summary by CodeRabbit

  • Chores
    • Updated dependency download settings to use a new package mirror across CI checks and image builds.
    • Standardized the package source configuration so installs use the same mirror consistently in all relevant build steps.

Switch the Woodpecker pip and uv index from TUNA to Aliyun after the o6n image build hung during uv sync large wheel downloads.

Verification:

- woodpecker-cli lint .woodpecker/ci.yml

- git diff --check
@coderabbitai

coderabbitai Bot commented Jun 27, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 7bd518c3-9bfc-4da8-80b5-8e63f1108c6f

📥 Commits

Reviewing files that changed from the base of the PR and between eadd39f and 40150ca.

📒 Files selected for processing (1)
  • .woodpecker/ci.yml

📝 Walkthrough

Walkthrough

The CI configuration switches the PyPI package index from the Tsinghua mirror (pypi.tuna.tsinghua.edu.cn) to the Aliyun mirror (mirrors.aliyun.com/pypi/simple) for PIP_INDEX_URL in the lint and smoke-tests steps, and for both PIP_INDEX_URL and UV_DEFAULT_INDEX in the build-image step.

Changes

CI Mirror Configuration

Layer / File(s) Summary
Update all CI steps to Aliyun PyPI mirror
.woodpecker/ci.yml
PIP_INDEX_URL is updated to the Aliyun mirror in lint (line 11) and smoke-tests (line 21) steps; PIP_INDEX_URL and UV_DEFAULT_INDEX are both set to the Aliyun mirror in the build-image step (lines 43–44).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • delete-cloud/Coding-Agent-Loop#642: Modifies the same .woodpecker/ci.yml file to configure PIP_INDEX_URL and UV_DEFAULT_INDEX, which this PR then redirects to the Aliyun mirror.

Poem

🐇 Hopping past the Tsinghua wall,
To Aliyun I now shall call!
pip install goes zoom zoom zoom,
New mirror fills the build with bloom.
The rabbit's packages arrive on time~ 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main CI change: switching Woodpecker to the Aliyun PyPI mirror.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/woodpecker-aliyun-index

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@delete-cloud
delete-cloud merged commit 7f40d4a into main Jun 27, 2026
2 checks passed
@delete-cloud
delete-cloud deleted the fix/woodpecker-aliyun-index branch June 27, 2026 23:10
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.

1 participant