Skip to content
Open
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
16 changes: 15 additions & 1 deletion .github/workflows/_selected_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@ jobs:
AWS_S3_FORCE_PATH_STYLE: "false"
AWS_REGION: ap-southeast-1
RUNS_ON_RUNNER_NAME: ""
# TEMPORARY (fork-only validation): the karc member reaches the internet
# through a squid proxy. Bypass it for GitHub/CI backends so the ARC hook
# workspace sync does not stall, force HTTP/1.1 for git, and pull wheels
# from the Huawei Cloud mirror instead of pypi.org.
NO_PROXY: "0.0.0.0,localhost,127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.buildkitd,.svc.cluster.local,.cluster.local,.actions.githubusercontent.com,.blob.core.windows.net,api.github.com,100.100.100.200,stats.vllm.ai,metadata.google.internal,169.254.169.254,github.com,.github.com,codeload.github.com"
GIT_CONFIG_COUNT: "1"
GIT_CONFIG_KEY_0: "http.version"
GIT_CONFIG_VALUE_0: "HTTP/1.1"
PIP_INDEX_URL: https://mirrors.huaweicloud.com/repository/pypi/simple
UV_DEFAULT_INDEX: https://mirrors.huaweicloud.com/repository/pypi/simple
container:
image: swr.cn-north-12.myhuaweicloud.com/atlas_inference/cann:${{ matrix.group.image_tag }}
env:
Expand All @@ -117,7 +127,11 @@ jobs:
MAX_JOBS: 4
UV_EXTRA_INDEX_URL: "https://repo.huaweicloud.com/ascend/repos/pypi https://repo.huaweicloud.com/ascend/repos/pypi/nightly https://download.pytorch.org/whl/cpu/"
UV_INDEX_STRATEGY: unsafe-best-match
UV_HTTP_TIMEOUT: 120
# karc over squid drags a single connection past 120s; widen the
# timeout, add retries and cap concurrency at 2.
UV_HTTP_TIMEOUT: 600
UV_HTTP_RETRIES: 5
UV_CONCURRENT_DOWNLOADS: 2
UV_NO_CACHE: 1
UV_SYSTEM_PYTHON: 1
steps:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/_selected_tests_upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,26 @@ concurrency:
cancel-in-progress: true

env:
# TEMPORARY (fork-only validation): run the upstream suite on the offline
# karc a2 member; bypass the squid proxy for GitHub/CI backends and use the
# Huawei Cloud wheel mirrors (same treatment as _selected_tests.yaml).
NO_PROXY: "0.0.0.0,localhost,127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.buildkitd,.svc.cluster.local,.cluster.local,.actions.githubusercontent.com,.blob.core.windows.net,api.github.com,100.100.100.200,stats.vllm.ai,metadata.google.internal,169.254.169.254,github.com,.github.com,codeload.github.com"
GIT_CONFIG_COUNT: "1"
GIT_CONFIG_KEY_0: "http.version"
GIT_CONFIG_VALUE_0: "HTTP/1.1"
PIP_INDEX_URL: https://mirrors.huaweicloud.com/repository/pypi/simple
UV_DEFAULT_INDEX: https://mirrors.huaweicloud.com/repository/pypi/simple
UV_EXTRA_INDEX_URL: "https://repo.huaweicloud.com/ascend/repos/pypi https://repo.huaweicloud.com/ascend/repos/pypi/nightly https://download.pytorch.org/whl/cpu/"
UV_INDEX_STRATEGY: unsafe-best-match
UV_HTTP_TIMEOUT: 120
UV_HTTP_TIMEOUT: 600
UV_HTTP_RETRIES: 5
UV_CONCURRENT_DOWNLOADS: 2
UV_NO_CACHE: 1
UV_SYSTEM_PYTHON: 1

jobs:
e2e-upstream_pr:
runs-on: linux-aarch64-a2b3-1
runs-on: linux-aarch64-a2b3-karc-fed-1
env:
RUNS_ON_S3_BUCKET_CACHE: ascend-ci-cache-hk
RUNS_ON_S3_BUCKET_ENDPOINT: https://obs.ap-southeast-1.myhuaweicloud.com
Expand Down
Loading
Loading