Skip to content

Commit 74b15c1

Browse files
authored
[CI] Bypass runner git-cache rewrite in sglang/vllm nightlies (#1090)
1 parent 3c03e97 commit 74b15c1

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/flydsl-sglang-integration.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,28 @@ jobs:
6161

6262
env:
6363
GPU_ARCH: gfx950
64+
# Keep checkout independent of runner-local git-cache rewrites.
65+
GIT_CONFIG_GLOBAL: /dev/null
66+
GIT_CONFIG_NOSYSTEM: "1"
6467

6568
steps:
6669
- name: Checkout FlyDSL utility scripts
6770
uses: actions/checkout@v4
71+
env:
72+
# Keep checkout independent of runner-local git-cache rewrites.
73+
GIT_CONFIG_GLOBAL: ${{ runner.temp }}/flydsl-gitconfig
74+
GIT_CONFIG_NOSYSTEM: "1"
6875
with:
6976
sparse-checkout: |
7077
scripts/install_awscli.sh
7178
path: flydsl
7279

7380
- name: Checkout aiter downstream script
7481
uses: actions/checkout@v4
82+
env:
83+
# Keep checkout independent of runner-local git-cache rewrites.
84+
GIT_CONFIG_GLOBAL: ${{ runner.temp }}/flydsl-gitconfig
85+
GIT_CONFIG_NOSYSTEM: "1"
7586
with:
7687
repository: ${{ env.AITER_REPOSITORY }}
7788
ref: ${{ env.AITER_REF }}

.github/workflows/flydsl-vllm-integration.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,17 @@ jobs:
2525
runs-on: build-only-flydsl
2626
permissions:
2727
contents: read
28+
env:
29+
# Keep checkout independent of runner-local git-cache rewrites.
30+
GIT_CONFIG_GLOBAL: /dev/null
31+
GIT_CONFIG_NOSYSTEM: "1"
2832
steps:
2933
- name: Checkout upstream aiter repo
3034
uses: actions/checkout@v4
35+
env:
36+
# Keep checkout independent of runner-local git-cache rewrites.
37+
GIT_CONFIG_GLOBAL: ${{ runner.temp }}/flydsl-gitconfig
38+
GIT_CONFIG_NOSYSTEM: "1"
3139
with:
3240
repository: ${{ env.AITER_REPOSITORY }}
3341
ref: ${{ env.AITER_REF }}
@@ -115,16 +123,29 @@ jobs:
115123
extra_args: --block-size 1 --trust-remote-code
116124
extra_env_args: -e VLLM_USE_TRITON_FLASH_ATTN=0
117125

126+
env:
127+
# Keep checkout independent of runner-local git-cache rewrites.
128+
GIT_CONFIG_GLOBAL: /dev/null
129+
GIT_CONFIG_NOSYSTEM: "1"
130+
118131
steps:
119132
- name: Checkout FlyDSL utility scripts
120133
uses: actions/checkout@v4
134+
env:
135+
# Keep checkout independent of runner-local git-cache rewrites.
136+
GIT_CONFIG_GLOBAL: ${{ runner.temp }}/flydsl-gitconfig
137+
GIT_CONFIG_NOSYSTEM: "1"
121138
with:
122139
sparse-checkout: |
123140
scripts/install_awscli.sh
124141
path: flydsl
125142

126143
- name: Checkout aiter helper script
127144
uses: actions/checkout@v4
145+
env:
146+
# Keep checkout independent of runner-local git-cache rewrites.
147+
GIT_CONFIG_GLOBAL: ${{ runner.temp }}/flydsl-gitconfig
148+
GIT_CONFIG_NOSYSTEM: "1"
128149
with:
129150
repository: ${{ env.AITER_REPOSITORY }}
130151
ref: ${{ env.AITER_REF }}

0 commit comments

Comments
 (0)