Skip to content

[Infra] Use tuna mirror instead of baidu mirror #6708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci_scripts/gendoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export DOCROOT
# PADDLE_WHL is defined in ci_start.sh
pip3 list --disable-pip-version-check | grep paddlepaddle > /dev/null
if [ $? -ne 0 ] ; then
pip3 install --no-cache-dir -i https://mirror.baidu.com/pypi/simple ${PADDLE_WHL}
pip3 install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple ${PADDLE_WHL}
fi


Expand Down
2 changes: 1 addition & 1 deletion ci_scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function get_paddle_pr_num_from_docs_pr_info(){
function install_paddle() {
# try to download paddle, and install
# PADDLE_WHL is defined in ci_start.sh
pip install --no-cache-dir -i https://mirror.baidu.com/pypi/simple ${PADDLE_WHL} 1>nul
pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple ${PADDLE_WHL} 1>nul
# if failed, build paddle
if [ $? -ne 0 ];then
build_paddle
Expand Down