[CI][NPU] remove pypi mirror site that hangs ci dependency installation (#12499)
This commit is contained in:
@@ -38,8 +38,8 @@ jobs:
|
|||||||
CACHING_URL="cache-service.nginx-pypi-cache.svc.cluster.local"
|
CACHING_URL="cache-service.nginx-pypi-cache.svc.cluster.local"
|
||||||
sed -Ei "s@(ports|archive).ubuntu.com@${CACHING_URL}:8081@g" /etc/apt/sources.list
|
sed -Ei "s@(ports|archive).ubuntu.com@${CACHING_URL}:8081@g" /etc/apt/sources.list
|
||||||
pip config set global.index-url http://${CACHING_URL}/pypi/simple
|
pip config set global.index-url http://${CACHING_URL}/pypi/simple
|
||||||
pip config set global.extra-index-url "https://pypi.tuna.tsinghua.edu.cn/simple https://mirrors.aliyun.com/pypi/simple/"
|
pip config set global.extra-index-url "https://pypi.tuna.tsinghua.edu.cn/simple"
|
||||||
pip config set global.trusted-host "${CACHING_URL} pypi.tuna.tsinghua.edu.cn mirrors.aliyun.com"
|
pip config set global.trusted-host "${CACHING_URL} pypi.tuna.tsinghua.edu.cn"
|
||||||
|
|
||||||
bash scripts/ci/npu_ci_install_dependency.sh 910b
|
bash scripts/ci/npu_ci_install_dependency.sh 910b
|
||||||
# copy required file from our daily cache
|
# copy required file from our daily cache
|
||||||
@@ -80,8 +80,8 @@ jobs:
|
|||||||
CACHING_URL="cache-service.nginx-pypi-cache.svc.cluster.local"
|
CACHING_URL="cache-service.nginx-pypi-cache.svc.cluster.local"
|
||||||
sed -Ei "s@(ports|archive).ubuntu.com@${CACHING_URL}:8081@g" /etc/apt/sources.list
|
sed -Ei "s@(ports|archive).ubuntu.com@${CACHING_URL}:8081@g" /etc/apt/sources.list
|
||||||
pip config set global.index-url http://${CACHING_URL}/pypi/simple
|
pip config set global.index-url http://${CACHING_URL}/pypi/simple
|
||||||
pip config set global.extra-index-url "https://pypi.tuna.tsinghua.edu.cn/simple https://mirrors.aliyun.com/pypi/simple/"
|
pip config set global.extra-index-url "https://pypi.tuna.tsinghua.edu.cn/simple"
|
||||||
pip config set global.trusted-host "${CACHING_URL} pypi.tuna.tsinghua.edu.cn mirrors.aliyun.com"
|
pip config set global.trusted-host "${CACHING_URL} pypi.tuna.tsinghua.edu.cn"
|
||||||
|
|
||||||
bash scripts/ci/npu_ci_install_dependency.sh 910b
|
bash scripts/ci/npu_ci_install_dependency.sh 910b
|
||||||
# copy required file from our daily cache
|
# copy required file from our daily cache
|
||||||
@@ -118,8 +118,8 @@ jobs:
|
|||||||
CACHING_URL="cache-service.nginx-pypi-cache.svc.cluster.local"
|
CACHING_URL="cache-service.nginx-pypi-cache.svc.cluster.local"
|
||||||
sed -Ei "s@(ports|archive).ubuntu.com@${CACHING_URL}:8081@g" /etc/apt/sources.list
|
sed -Ei "s@(ports|archive).ubuntu.com@${CACHING_URL}:8081@g" /etc/apt/sources.list
|
||||||
pip config set global.index-url http://${CACHING_URL}/pypi/simple
|
pip config set global.index-url http://${CACHING_URL}/pypi/simple
|
||||||
pip config set global.extra-index-url "https://pypi.tuna.tsinghua.edu.cn/simple https://mirrors.aliyun.com/pypi/simple/"
|
pip config set global.extra-index-url "https://pypi.tuna.tsinghua.edu.cn/simple"
|
||||||
pip config set global.trusted-host "${CACHING_URL} pypi.tuna.tsinghua.edu.cn mirrors.aliyun.com"
|
pip config set global.trusted-host "${CACHING_URL} pypi.tuna.tsinghua.edu.cn"
|
||||||
|
|
||||||
bash scripts/ci/npu_ci_install_dependency.sh 910b
|
bash scripts/ci/npu_ci_install_dependency.sh 910b
|
||||||
# copy required file from our daily cache
|
# copy required file from our daily cache
|
||||||
@@ -160,8 +160,8 @@ jobs:
|
|||||||
CACHING_URL="cache-service.nginx-pypi-cache.svc.cluster.local"
|
CACHING_URL="cache-service.nginx-pypi-cache.svc.cluster.local"
|
||||||
sed -Ei "s@(ports|archive).ubuntu.com@${CACHING_URL}:8081@g" /etc/apt/sources.list
|
sed -Ei "s@(ports|archive).ubuntu.com@${CACHING_URL}:8081@g" /etc/apt/sources.list
|
||||||
pip config set global.index-url http://${CACHING_URL}/pypi/simple
|
pip config set global.index-url http://${CACHING_URL}/pypi/simple
|
||||||
pip config set global.extra-index-url "https://pypi.tuna.tsinghua.edu.cn/simple https://mirrors.aliyun.com/pypi/simple/"
|
pip config set global.extra-index-url "https://pypi.tuna.tsinghua.edu.cn/simple"
|
||||||
pip config set global.trusted-host "${CACHING_URL} pypi.tuna.tsinghua.edu.cn mirrors.aliyun.com"
|
pip config set global.trusted-host "${CACHING_URL} pypi.tuna.tsinghua.edu.cn"
|
||||||
|
|
||||||
bash scripts/ci/npu_ci_install_dependency.sh a3
|
bash scripts/ci/npu_ci_install_dependency.sh a3
|
||||||
# copy required file from our daily cache
|
# copy required file from our daily cache
|
||||||
|
|||||||
Reference in New Issue
Block a user