Skip to content

Commit f7002fc

Browse files
authored
Set opea_branch for CD test (#1870)
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent c39c875 commit f7002fc

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/_example-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
example: ${{ inputs.example }}
7777
hardware: ${{ inputs.node }}
7878
use_model_cache: ${{ inputs.use_model_cache }}
79+
opea_branch: ${{ inputs.opea_branch }}
7980
secrets: inherit
8081

8182

.github/workflows/_run-docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ on:
3232
required: false
3333
type: boolean
3434
default: false
35+
opea_branch:
36+
default: "main"
37+
required: false
38+
type: string
3539
jobs:
3640
get-test-case:
3741
runs-on: ubuntu-latest
@@ -169,6 +173,7 @@ jobs:
169173
FINANCIAL_DATASETS_API_KEY: ${{ secrets.FINANCIAL_DATASETS_API_KEY }}
170174
IMAGE_REPO: ${{ inputs.registry }}
171175
IMAGE_TAG: ${{ inputs.tag }}
176+
opea_branch: ${{ inputs.opea_branch }}
172177
example: ${{ inputs.example }}
173178
hardware: ${{ inputs.hardware }}
174179
test_case: ${{ matrix.test_case }}

0 commit comments

Comments
 (0)