From af4dbb6b26eee13f5b15b41bad21c2b93ac415b7 Mon Sep 17 00:00:00 2001 From: Li Wang Date: Fri, 23 Jan 2026 16:56:16 +0800 Subject: [PATCH] [CI] Use nginx for package cache to speed up CI (#6170) ### What this PR does / why we need it? Use nginx for package cache to speed up CI - vLLM version: v0.14.0 - vLLM main: https://github.com/vllm-project/vllm/commit/d68209402ddab3f54a09bc1f4de9a9495a283b60 --------- Signed-off-by: wangli --- .github/workflows/_e2e_test.yaml | 13 ++++++------- .github/workflows/pr_test_light.yaml | 1 + 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/_e2e_test.yaml b/.github/workflows/_e2e_test.yaml index efd24dfa..5f562b3d 100644 --- a/.github/workflows/_e2e_test.yaml +++ b/.github/workflows/_e2e_test.yaml @@ -144,11 +144,9 @@ jobs: - name: Config mirrors run: | - # Fix me: use nginx cache rather than the pypi - # sed -Ei 's@(ports|archive).ubuntu.com@cache-service.nginx-pypi-cache.svc.cluster.local:8081@g' /etc/apt/sources.list - # pip config set global.index-url http://cache-service.nginx-pypi-cache.svc.cluster.local/pypi/simple - # pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local - pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple + sed -Ei 's@(ports|archive).ubuntu.com@cache-service.nginx-pypi-cache.svc.cluster.local:8081@g' /etc/apt/sources.list + pip config set global.index-url http://cache-service.nginx-pypi-cache.svc.cluster.local/pypi/simple + pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local apt-get update -y apt install git -y @@ -254,8 +252,9 @@ jobs: - name: Config mirrors run: | - sed -i 's|ports.ubuntu.com|mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list - pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple + sed -Ei 's@(ports|archive).ubuntu.com@cache-service.nginx-pypi-cache.svc.cluster.local:8081@g' /etc/apt/sources.list + pip config set global.index-url http://cache-service.nginx-pypi-cache.svc.cluster.local/pypi/simple + pip config set global.trusted-host cache-service.nginx-pypi-cache.svc.cluster.local apt-get update -y apt install git wget curl -y git config --global url."https://gh-proxy.test.osinfra.cn/https://github.com/".insteadOf https://github.com/ diff --git a/.github/workflows/pr_test_light.yaml b/.github/workflows/pr_test_light.yaml index b044184d..44043665 100644 --- a/.github/workflows/pr_test_light.yaml +++ b/.github/workflows/pr_test_light.yaml @@ -61,6 +61,7 @@ jobs: filters: | e2e_tracker: - '.github/workflows/pr_test_light.yaml' + - '.github/workflows/_e2e_test.yaml' - 'vllm_ascend/**' - 'csrc/**' - 'cmake/**'