44 kind : ImageStream
55 metadata :
66 labels :
7- appName : 10.1 -cuda-chain-ubi7
7+ appName : $(cuda_version) -cuda-chain-ubi7
88 appTypes : cuda-build-chain
99 name : cuda
1010 spec :
1414 kind : ImageStream
1515 metadata :
1616 labels :
17- appName : 10.1 -cuda-chain-ubi7
17+ appName : $(cuda_version) -cuda-chain-ubi7
1818 appTypes : cuda-build-chain
1919 name : python-36-ubi7
2020 spec :
@@ -24,24 +24,24 @@ items:
2424 kind : BuildConfig
2525 metadata :
2626 labels :
27- appName : 10.1 -cuda-chain-ubi7
28- appName1 : 10.1 -base-ubi7
27+ appName : $(cuda_version) -cuda-chain-ubi7
28+ appName1 : $(cuda_version) -base-ubi7
2929 appTypes : cuda-build-chain
30- name : 10.1 -base-ubi7
30+ name : $(cuda_version) -base-ubi7
3131 spec :
3232 output :
3333 to :
3434 kind : ImageStreamTag
35- name : cuda:10.1 -base-ubi7
35+ name : cuda:$(cuda_version) -base-ubi7
3636 resources :
3737 limits :
38- cpu : " 4 "
38+ cpu : " 2 "
3939 memory : 4Gi
4040 requests :
41- cpu : " 4 "
42- memory : 4Gi
41+ cpu : " 1 "
42+ memory : 2Gi
4343 source :
44- contextDir : 10.1 /base
44+ contextDir : $(cuda_version) /base
4545 git :
4646 ref : ubi7
4747 uri : https://github.com/harshad16/cuda.git
@@ -67,24 +67,24 @@ items:
6767 kind : BuildConfig
6868 metadata :
6969 labels :
70- appName : 10.1 -cuda-chain-ubi7
71- appName1 : 10.1 -runtime-ubi7
70+ appName : $(cuda_version) -cuda-chain-ubi7
71+ appName1 : $(cuda_version) -runtime-ubi7
7272 appTypes : cuda-build-chain
73- name : 10.1 -runtime-ubi7
73+ name : $(cuda_version) -runtime-ubi7
7474 spec :
7575 output :
7676 to :
7777 kind : ImageStreamTag
78- name : cuda:10.1 -runtime-ubi7
78+ name : cuda:$(cuda_version) -runtime-ubi7
7979 resources :
8080 limits :
81- cpu : " 4 "
81+ cpu : " 2 "
8282 memory : 4Gi
8383 requests :
84- cpu : " 4 "
85- memory : 4Gi
84+ cpu : " 1 "
85+ memory : 2Gi
8686 source :
87- contextDir : 10.1 /runtime/
87+ contextDir : $(cuda_version) /runtime/
8888 git :
8989 ref : ubi7
9090 uri : https://github.com/harshad16/cuda.git
9393 dockerStrategy :
9494 from :
9595 kind : ImageStreamTag
96- name : cuda:10.1 -base-ubi7
96+ name : cuda:$(cuda_version) -base-ubi7
9797 noCache : true
9898 triggers :
9999 - type : ConfigChange
@@ -105,24 +105,24 @@ items:
105105 kind : BuildConfig
106106 metadata :
107107 labels :
108- appName : 10.1 -cuda-chain-ubi7
109- appName1 : 10.1 -cudnn7-runtime-ubi7
108+ appName : $(cuda_version) -cuda-chain-ubi7
109+ appName1 : $(cuda_version) -cudnn7-runtime-ubi7
110110 appTypes : cuda-build-chain
111- name : 10.1 -cudnn7-runtime-ubi7
111+ name : $(cuda_version) -cudnn7-runtime-ubi7
112112 spec :
113113 output :
114114 to :
115115 kind : ImageStreamTag
116- name : cuda:10.1 -cudnn7-runtime-ubi7
116+ name : cuda:$(cuda_version) -cudnn7-runtime-ubi7
117117 resources :
118118 limits :
119- cpu : " 4 "
119+ cpu : " 2 "
120120 memory : 4Gi
121121 requests :
122- cpu : " 4 "
123- memory : 4Gi
122+ cpu : " 1 "
123+ memory : 2Gi
124124 source :
125- contextDir : 10.1 /runtime/cudnn7
125+ contextDir : $(cuda_version) /runtime/cudnn7
126126 git :
127127 ref : ubi7
128128 uri : https://github.com/harshad16/cuda.git
@@ -131,7 +131,7 @@ items:
131131 dockerStrategy :
132132 from :
133133 kind : ImageStreamTag
134- name : cuda:10.1 -runtime-ubi7
134+ name : cuda:$(cuda_version) -runtime-ubi7
135135 noCache : true
136136 triggers :
137137 - type : ConfigChange
@@ -143,24 +143,24 @@ items:
143143 kind : BuildConfig
144144 metadata :
145145 labels :
146- appName : 10.1 -cuda-chain-ubi7
147- appName1 : 10.1 -devel-ubi7
146+ appName : $(cuda_version) -cuda-chain-ubi7
147+ appName1 : $(cuda_version) -devel-ubi7
148148 appTypes : cuda-build-chain
149- name : 10.1 -devel-ubi7
149+ name : $(cuda_version) -devel-ubi7
150150 spec :
151151 output :
152152 to :
153153 kind : ImageStreamTag
154- name : cuda:10.1 -devel-ubi7
154+ name : cuda:$(cuda_version) -devel-ubi7
155155 resources :
156156 limits :
157- cpu : " 4 "
157+ cpu : " 2 "
158158 memory : 4Gi
159159 requests :
160- cpu : " 4 "
161- memory : 4Gi
160+ cpu : " 1 "
161+ memory : 2Gi
162162 source :
163- contextDir : 10.1 /devel/
163+ contextDir : $(cuda_version) /devel/
164164 git :
165165 ref : ubi7
166166 uri : https://github.com/harshad16/cuda.git
@@ -169,7 +169,7 @@ items:
169169 dockerStrategy :
170170 from :
171171 kind : ImageStreamTag
172- name : cuda:10.1 -runtime-ubi7
172+ name : cuda:$(cuda_version) -runtime-ubi7
173173 noCache : true
174174 triggers :
175175 - type : ConfigChange
@@ -181,24 +181,24 @@ items:
181181 kind : BuildConfig
182182 metadata :
183183 labels :
184- appName : 10.1 -cuda-chain-ubi7
185- appName1 : 10.1 -cudnn7-devel-ubi7
184+ appName : $(cuda_version) -cuda-chain-ubi7
185+ appName1 : $(cuda_version) -cudnn7-devel-ubi7
186186 appTypes : cuda-build-chain
187- name : 10.1 -cudnn7-devel-ubi7
187+ name : $(cuda_version) -cudnn7-devel-ubi7
188188 spec :
189189 output :
190190 to :
191191 kind : ImageStreamTag
192- name : cuda:10.1 -cudnn7-devel-ubi7
192+ name : cuda:$(cuda_version) -cudnn7-devel-ubi7
193193 resources :
194194 limits :
195- cpu : " 4 "
195+ cpu : " 2 "
196196 memory : 4Gi
197197 requests :
198- cpu : " 4 "
199- memory : 4Gi
198+ cpu : " 1 "
199+ memory : 2Gi
200200 source :
201- contextDir : 10.1 /devel/cudnn7
201+ contextDir : $(cuda_version) /devel/cudnn7
202202 git :
203203 ref : ubi7
204204 uri : https://github.com/harshad16/cuda.git
@@ -207,7 +207,7 @@ items:
207207 dockerStrategy :
208208 from :
209209 kind : ImageStreamTag
210- name : cuda:10.1 -devel-ubi7
210+ name : cuda:$(cuda_version) -devel-ubi7
211211 noCache : true
212212 triggers :
213213 - type : ConfigChange
@@ -219,7 +219,7 @@ items:
219219 kind : BuildConfig
220220 metadata :
221221 labels :
222- appName : 10.1 -cuda-chain-ubi7
222+ appName : $(cuda_version) -cuda-chain-ubi7
223223 appName1 : python-36-ubi7
224224 appTypes : cuda-build-chain
225225 name : python-36-ubi7
@@ -230,11 +230,11 @@ items:
230230 name : python-36-ubi7:latest
231231 resources :
232232 limits :
233- cpu : " 4 "
233+ cpu : " 2 "
234234 memory : 4Gi
235235 requests :
236- cpu : " 4 "
237- memory : 4Gi
236+ cpu : " 1 "
237+ memory : 2Gi
238238 source :
239239 contextDir : " 3.6"
240240 git :
@@ -246,7 +246,7 @@ items:
246246 dockerfilePath : Dockerfile.rhel7
247247 from :
248248 kind : ImageStreamTag
249- name : cuda:10.1 -cudnn7-devel-ubi7
249+ name : cuda:$(cuda_version) -cudnn7-devel-ubi7
250250 noCache : true
251251 triggers :
252252 - type : ConfigChange
0 commit comments