Skip to content

Commit 6296e9f

Browse files
authored
remove continue-on-error: true to stop the test when image build failed (#608)
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent c86cf85 commit 6296e9f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/_example-workflow.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
default: false
3333
required: false
3434
type: boolean
35-
GenAIComps_branch:
35+
opea_branch:
3636
default: "main"
3737
required: false
3838
type: string
@@ -42,7 +42,6 @@ jobs:
4242
####################################################################################################
4343
build-images:
4444
runs-on: "docker-build-${{ inputs.node }}"
45-
continue-on-error: true
4645
steps:
4746
- name: Clean Up Working Directory
4847
run: sudo rm -rf ${{github.workspace}}/*
@@ -61,7 +60,7 @@ jobs:
6160
git clone https://github.com/vllm-project/vllm.git
6261
fi
6362
git clone https://github.com/opea-project/GenAIComps.git
64-
cd GenAIComps && git checkout ${{ inputs.GenAIComps_branch }} && cd ../
63+
cd GenAIComps && git checkout ${{ inputs.opea_branch }} && cd ../
6564
6665
- name: Build Image
6766
if: ${{ fromJSON(inputs.build) }}

.github/workflows/manual-example-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ on:
4040
description: 'Test examples with k8s'
4141
required: false
4242
type: boolean
43-
GenAIComps_branch:
43+
opea_branch:
4444
default: "main"
45-
description: 'GenAIComps branch for image build'
45+
description: 'OPEA branch for image build'
4646
required: false
4747
type: string
4848

@@ -80,5 +80,5 @@ jobs:
8080
scan: ${{ fromJSON(inputs.scan) }}
8181
test_compose: ${{ fromJSON(inputs.test_compose) }}
8282
test_k8s: ${{ fromJSON(inputs.test_k8s) }}
83-
GenAIComps_branch: ${{ inputs.GenAIComps_branch }}
83+
opea_branch: ${{ inputs.opea_branch }}
8484
secrets: inherit

0 commit comments

Comments
 (0)