@@ -54,7 +54,6 @@ commands:
54
54
command : |
55
55
git submodule update --init opt/readies
56
56
./opt/readies/bin/getpy3
57
- ./opt/system-setup.py
58
57
59
58
setup-build-system :
60
59
steps :
@@ -64,16 +63,20 @@ commands:
64
63
command : |
65
64
./opt/system-setup.py
66
65
66
+ checkout-all :
67
+ steps :
68
+ - checkout
69
+ - run :
70
+ name : Checkout submodules
71
+ command : git submodule update --init --recursive
72
+
67
73
build-steps :
68
74
parameters :
69
75
platform :
70
76
type : string
71
77
steps :
72
78
- abort_for_docs
73
- - checkout
74
- - run :
75
- name : Submodule checkout
76
- command : git submodule update --init --recursive
79
+ - checkout-all
77
80
- restore_cache :
78
81
keys :
79
82
- v1-dependencies-{{ checksum "get_deps.sh" }}
@@ -118,11 +121,8 @@ commands:
118
121
platforms-build-steps :
119
122
steps :
120
123
- abort_for_docs
121
- - checkout
124
+ - checkout-all
122
125
- relocate-docker-storage
123
- - run :
124
- name : Submodule checkout
125
- command : git submodule update --init --recursive
126
126
- setup-automation
127
127
- run :
128
128
name : Build for platform
@@ -176,10 +176,7 @@ jobs:
176
176
docker :
177
177
- image : redislabsmodules/llvm-toolset:latest
178
178
steps :
179
- - checkout
180
- - run :
181
- name : Submodule checkout
182
- command : git submodule update --init --recursive
179
+ - checkout-all
183
180
- setup-build-system
184
181
- run :
185
182
name : lint
@@ -207,10 +204,7 @@ jobs:
207
204
- image : redisfab/rmbuilder:6.2.1-x64-buster
208
205
steps :
209
206
- abort_for_docs
210
- - checkout
211
- - run :
212
- name : Submodule checkout
213
- command : git submodule update --init --recursive
207
+ - checkout-all
214
208
- restore_cache :
215
209
keys :
216
210
- build-dependencies-{{ checksum "get_deps.sh" }}
@@ -241,10 +235,7 @@ jobs:
241
235
- image : redisfab/rmbuilder:6.2.1-x64-buster
242
236
steps :
243
237
- abort_for_docs
244
- - checkout
245
- - run :
246
- name : Submodule checkout
247
- command : git submodule update --init --recursive
238
+ - checkout-all
248
239
- restore_cache :
249
240
keys :
250
241
- build-dependencies-{{ checksum "get_deps.sh" }}
@@ -283,10 +274,7 @@ jobs:
283
274
image : cimg/base:2020.01
284
275
steps :
285
276
- abort_for_docs
286
- - checkout
287
- - run :
288
- name : Submodule checkout
289
- command : git submodule update --init --recursive
277
+ - checkout-all
290
278
- run :
291
279
name : Checkout LFS
292
280
command : |
@@ -315,10 +303,7 @@ jobs:
315
303
image : ubuntu-1604-cuda-11.1:202012-01
316
304
steps :
317
305
- abort_for_docs
318
- - checkout
319
- - run :
320
- name : Submodule checkout
321
- command : git submodule update --init --recursive
306
+ - checkout-all
322
307
- run :
323
308
name : Relocate docker overlay2 dir
324
309
command : |
0 commit comments