@@ -154,75 +154,6 @@ functions:
154
154
args :
155
155
- ${PROJECT_DIRECTORY}/.evergreen/compile-unix.sh
156
156
157
- " upload mo artifacts " :
158
- - command : shell.exec
159
- params :
160
- script : |
161
- ${PREPARE_SHELL}
162
- find $MONGO_ORCHESTRATION_HOME -name \*.log | xargs tar czf mongodb-logs.tar.gz
163
- - command : s3.put
164
- params :
165
- aws_key : ${aws_key}
166
- aws_secret : ${aws_secret}
167
- local_file : mongodb-logs.tar.gz
168
- remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-mongodb-logs.tar.gz
169
- bucket : mciuploads
170
- permissions : public-read
171
- content_type : ${content_type|application/x-gzip}
172
- display_name : " mongodb-logs.tar.gz"
173
- - command : s3.put
174
- params :
175
- aws_key : ${aws_key}
176
- aws_secret : ${aws_secret}
177
- local_file : ${DRIVERS_TOOLS}/.evergreen/orchestration/server.log
178
- remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-orchestration.log
179
- bucket : mciuploads
180
- permissions : public-read
181
- content_type : ${content_type|text/plain}
182
- display_name : " orchestration.log"
183
- - command : shell.exec
184
- params :
185
- script : |
186
- ${PREPARE_SHELL}
187
- find /tmp/MO -name \*.log | xargs tar czf mongodb-start-logs.tar.gz
188
- - command : s3.put
189
- params :
190
- aws_key : ${aws_key}
191
- aws_secret : ${aws_secret}
192
- local_file : mongodb-start-logs.tar.gz
193
- remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-mongodb-start-logs.tar.gz
194
- bucket : mciuploads
195
- permissions : public-read
196
- content_type : ${content_type|application/x-gzip}
197
- display_name : " mongodb-start-logs.tar.gz"
198
-
199
- " upload working dir " :
200
- - command : archive.targz_pack
201
- params :
202
- target : " working-dir.tar.gz"
203
- source_dir : ${PROJECT_DIRECTORY}/
204
- include :
205
- - " ./**"
206
- - command : archive.targz_pack
207
- params :
208
- target : " drivers-dir.tar.gz"
209
- source_dir : ${DRIVERS_TOOLS}
210
- include :
211
- - " ./**"
212
- exclude_files :
213
- # Windows cannot read the mongod *.lock files because they are locked.
214
- - " *.lock"
215
- - command : s3.put
216
- params :
217
- aws_key : ${aws_key}
218
- aws_secret : ${aws_secret}
219
- local_file : drivers-dir.tar.gz
220
- remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/artifacts/${task_id}-${execution}-drivers-dir.tar.gz
221
- bucket : mciuploads
222
- permissions : public-read
223
- content_type : ${content_type|application/x-gzip}
224
- display_name : " drivers-dir.tar.gz"
225
-
226
157
" upload test results " :
227
158
- command : attach.xunit_results
228
159
params :
@@ -294,25 +225,6 @@ functions:
294
225
perl -p -i -e "s|ABSOLUTE_PATH_REPLACEMENT_TOKEN|${DRIVERS_TOOLS}|g" $filename
295
226
done
296
227
297
- " windows fix " :
298
- - command : shell.exec
299
- params :
300
- script : |
301
- ${PREPARE_SHELL}
302
- for i in $(find ${DRIVERS_TOOLS}/.evergreen ${PROJECT_DIRECTORY}/.evergreen -name \*.sh); do
303
- cat $i | tr -d '\r' > $i.new
304
- mv $i.new $i
305
- done
306
-
307
- " make files executable " :
308
- - command : shell.exec
309
- params :
310
- script : |
311
- ${PREPARE_SHELL}
312
- for i in $(find ${DRIVERS_TOOLS}/.evergreen ${PROJECT_DIRECTORY}/.evergreen -name \*.sh); do
313
- chmod +x $i
314
- done
315
-
316
228
" init test-results " :
317
229
- command : shell.exec
318
230
params :
0 commit comments