Skip to content

Commit 8c091e2

Browse files
committed
fix workflow
1 parent 4d46545 commit 8c091e2

5 files changed

Lines changed: 18 additions & 7 deletions

File tree

.github/workflows/pkg_create_pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ jobs:
6161
rebel-seinpark
6262
rebel-sunwook
6363
outputs:
64-
success: ${{ steps.create-pr-step.outputs.success }}
64+
success: ${{ steps.create-pr-step.outputs.pull-request-operation != 'none' }}

.github/workflows/rbln_optimum_ci.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,14 @@ env:
3434
REBEL_VLLM_PRE_COMPILED_DIR: ${{ secrets.VLLM_PRE_COMPILED_DIR }}
3535

3636
jobs:
37+
get-compiler-version:
38+
if: ${{ !inputs.rebel_compiler_version }}
39+
uses: ./.github/workflows/rbln_utils_get_compiler_version_ci.yaml
40+
secrets: inherit
41+
3742
test_vllm_rbln_rsd1:
3843
name: Optimum Test CI RSD 1
44+
needs: [get-compiler-version]
3945
runs-on: rbln-sw-k8s-ca22-1
4046
container:
4147
image: mcr.microsoft.com/devcontainers/python:3.12
@@ -71,7 +77,7 @@ jobs:
7177
- name: Checkout current repository
7278
uses: actions/checkout@v4
7379
with:
74-
ref: ${{ inputs.pr_number && format('refs/pull/{0}/merge', inputs.pr_number) || inputs.ref || github.sha }}
80+
ref: ${{ inputs.ref || github.sha }}
7581
submodules: recursive
7682
fetch-depth: 0
7783

@@ -128,6 +134,7 @@ jobs:
128134
129135
test_vllm_rbln_rsd4:
130136
name: Optimum Test CI RSD 4
137+
needs: [get-compiler-version]
131138
runs-on: rbln-sw-k8s-ca22-4
132139
container:
133140
image: mcr.microsoft.com/devcontainers/python:3.12
@@ -163,7 +170,7 @@ jobs:
163170
- name: Checkout current repository
164171
uses: actions/checkout@v4
165172
with:
166-
ref: ${{ inputs.pr_number && format('refs/pull/{0}/merge', inputs.pr_number) || inputs.ref || github.sha }}
173+
ref: ${{ inputs.ref || github.sha }}
167174
submodules: recursive
168175
fetch-depth: 0
169176

@@ -264,6 +271,7 @@ jobs:
264271
265272
test_vllm_rbln_rsd8:
266273
name: Optimum Test CI RSD 8
274+
needs: [get-compiler-version]
267275
runs-on: rbln-sw-k8s-ca22-8
268276
container:
269277
image: mcr.microsoft.com/devcontainers/python:3.12
@@ -299,7 +307,7 @@ jobs:
299307
- name: Checkout current repository
300308
uses: actions/checkout@v4
301309
with:
302-
ref: ${{ inputs.pr_number && format('refs/pull/{0}/merge', inputs.pr_number) || inputs.ref || github.sha }}
310+
ref: ${{ inputs.ref || github.sha }}
303311
submodules: recursive
304312
fetch-depth: 0
305313

.github/workflows/rbln_trigger_internal_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Checkout repository
3232
uses: actions/checkout@v4
3333
with:
34-
ref: ${{ inputs.pr_number && format('refs/pull/{0}/merge', inputs.pr_number) || inputs.ref || github.sha }}
34+
ref: ${{ inputs.ref || github.sha }}
3535
fetch-depth: 0
3636

3737
- name: Set up Python 3.12

.github/workflows/rbln_vllm-rbln_pytest.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
required: false
2525
type: boolean
2626
default: true
27+
test_level:
28+
description: "Test level to run"
29+
required: false
30+
type: string
2731
workflow_call:
2832
inputs:
2933
ref:
@@ -152,7 +156,6 @@ jobs:
152156
- name: Run pytest
153157
if: steps.should_skip.outputs.skip != 'true'
154158
env:
155-
VLLM_RBLN_TEST_LEVEL: ${{ inputs.test_level }}
156159
REBEL_VLLM_PRE_COMPILED_DIR: ${{ secrets.VLLM_PRE_COMPILED_DIR }}
157160

158161
run: |
@@ -288,7 +291,6 @@ jobs:
288291
- name: Run pytest
289292
if: steps.should_skip.outputs.skip != 'true'
290293
env:
291-
VLLM_RBLN_TEST_LEVEL: ${{ inputs.test_level }}
292294
REBEL_VLLM_PRE_COMPILED_DIR: ${{ secrets.VLLM_PRE_COMPILED_DIR }}
293295

294296
run: |

actionlint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ self-hosted-runner:
33
- rbln-sw-k8s-general
44
- rbln-sw-k8s-ca22-1
55
- rbln-sw-k8s-ca22-4
6+
- rbln-sw-k8s-ca22-8
67
- fsw-r18s-atom-ext-rbln-sw-general-c1m12
78
- fsw-r18s-atom-ext-rbln-sw-general-c3m48a1

0 commit comments

Comments
 (0)