Skip to content

Commit fb573d1

Browse files
committed
add runner label
1 parent 3ba2ff2 commit fb573d1

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ on:
4141
jobs:
4242
ut-linux-x86:
4343
environment: ci
44-
runs-on: ubuntu-22.04
44+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
4545
name: UT Test on Ubuntu/x86
4646
steps:
4747
- name: Pre Clean Some Unneeded Images
@@ -197,7 +197,7 @@ jobs:
197197
198198
sca:
199199
environment: ci
200-
runs-on: ubuntu-22.04
200+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
201201
name: SCA Test on Ubuntu/x86
202202
steps:
203203
- uses: actions/checkout@v6

.github/workflows/e2e-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
bvt-docker-compose-push:
1212
if: ${{ !github.event.pull_request.draft }}
1313
environment: ci
14-
runs-on: ubuntu-22.04
14+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
1515
name: multi cn e2e bvt test docker compose(Optimistic/PUSH)
1616
timeout-minutes: 60
1717

@@ -183,7 +183,7 @@ jobs:
183183
multi-CN-bvt-docker-compose-pessimistic:
184184
if: ${{ !github.event.pull_request.draft }}
185185
environment: ci
186-
runs-on: ubuntu-22.04
186+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
187187
name: multi cn e2e bvt test docker compose(PESSIMISTIC)
188188
timeout-minutes: 60
189189
steps:

.github/workflows/e2e-standalone.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
bvt-linux-x86:
1212
if: ${{ !github.event.pull_request.draft }}
1313
environment: ci
14-
runs-on: ubuntu-22.04
14+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
1515
name: e2e BVT Test on Linux/x64(LAUNCH,Optimistic)
1616
timeout-minutes: 90
1717
steps:
@@ -145,7 +145,7 @@ jobs:
145145
retention-days: 7
146146

147147
multi-cn-proxy-bvt-linux-x86:
148-
runs-on: ubuntu-22.04
148+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
149149
name: Multi-CN e2e BVT Test on Linux/x64(LAUNCH, PROXY)
150150
timeout-minutes: 60
151151
env:
@@ -234,7 +234,7 @@ jobs:
234234
retention-days: 7
235235

236236
pessimistic-bvt-linux-x86:
237-
runs-on: ubuntu-22.04
237+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
238238
name: e2e BVT Test on Linux/x64(LAUNCH, PESSIMISTIC)
239239
timeout-minutes: 60
240240
env:

.github/workflows/e2e-upgrade.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
jobs:
2020
upgrade-ci-target-linux-amd64:
2121
environment: ci
22-
runs-on: ubuntu-22.04
22+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
2323
name: Compatibility Test With Target on Linux/x64(LAUNCH)
2424
timeout-minutes: 60
2525

@@ -225,7 +225,7 @@ jobs:
225225

226226
upgrade-ci-release-linux-amd64:
227227
environment: ci
228-
runs-on: ubuntu-22.04
228+
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
229229
name: Compatibility Test With Release on Linux/x64(LAUNCH)
230230
timeout-minutes: 60
231231
outputs:

0 commit comments

Comments
 (0)