File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 16
16
required : true
17
17
type : string
18
18
description : " Hardware to run test"
19
- deploy :
20
- default : true
21
- required : true
22
- type : boolean
23
- description : ' Whether to deploy gmc'
24
19
workflow_call :
25
20
inputs :
26
21
tag :
33
28
required : true
34
29
type : string
35
30
description : " Hardware to run test"
36
- deploy :
37
- default : true
38
- required : true
39
- type : boolean
40
- description : ' Whether to deploy gmc'
41
31
42
32
jobs :
43
33
# ###################################################################################################
@@ -113,7 +103,6 @@ jobs:
113
103
# ###################################################################################################
114
104
gmc-install :
115
105
needs : image-build
116
- if : ${{ fromJSON(inputs.deploy) }}
117
106
runs-on : " k8s-${{ inputs.node }}"
118
107
steps :
119
108
- name : Checkout GenAIInfra repository
Original file line number Diff line number Diff line change 45
45
description : ' Test examples with k8s'
46
46
required : false
47
47
type : boolean
48
+ test_gmc :
49
+ default : false
50
+ description : ' Test examples with gmc'
51
+ required : false
52
+ type : boolean
48
53
opea_branch :
49
54
default : " main"
50
55
description : ' OPEA branch for image build'
70
75
echo "nodes=$nodes_json" >> $GITHUB_OUTPUT
71
76
72
77
build-deploy-gmc :
78
+ if : ${{ fromJSON(inputs.deploy_gmc) }}
73
79
strategy :
74
80
matrix :
75
81
node : ${{ fromJson(needs.get-test-matrix.outputs.nodes) }}
82
88
secrets : inherit
83
89
84
90
run-examples :
85
- needs : [get-test-matrix]
91
+ needs : [get-test-matrix, build-deploy-gmc ]
86
92
strategy :
87
93
matrix :
88
94
example : ${{ fromJson(needs.get-test-matrix.outputs.examples) }}
97
103
scan : ${{ fromJSON(inputs.scan) }}
98
104
test_compose : ${{ fromJSON(inputs.test_compose) }}
99
105
test_k8s : ${{ fromJSON(inputs.test_k8s) }}
106
+ test_gmc : ${{ fromJSON(inputs.test_gmc) }}
100
107
opea_branch : ${{ inputs.opea_branch }}
101
108
secrets : inherit
You can’t perform that action at this time.
0 commit comments