26
26
- ~/.mongodb/runner/*.log
27
27
28
28
functions :
29
- " prepare " :
29
+ ' prepare ' :
30
30
- command : git.get_project
31
31
params :
32
32
directory : src
@@ -70,7 +70,12 @@ functions:
70
70
export NPM_TMP_DIR="$(pwd)/.deps/tmp"
71
71
export NPM_AUTH_TOKEN="${compass_npm_token}"
72
72
73
- export NODE_JS_VERSION="10.2.1"
73
+ export NODE_JS_VERSION="12.4.0"
74
+ # TODO: lucas: Go back to npm@latest after 6.13.4 released
75
+ # or https://jira.mongodb.org/browse/COMPASS-4019 removes jade.
76
+ # https://jira.mongodb.org/browse/COMPASS-4018
77
+ # export NPM_VERSION="latest"
78
+ export NPM_VERSION="6.13.2"
74
79
75
80
if [[ "$OSTYPE" == "cygwin" ]]; then
76
81
export PATH="$(pwd)/.deps:/cygdrive/c/wixtools/bin/:$PATH"
@@ -213,7 +218,7 @@ functions:
213
218
# params:
214
219
# file: src/plugin/plugin-test-results.xml
215
220
216
- " package " :
221
+ ' package ' :
217
222
- command : shell.exec
218
223
params :
219
224
working_dir : src
@@ -284,7 +289,7 @@ functions:
284
289
ls -la dist
285
290
fi
286
291
287
- " publish " :
292
+ ' publish ' :
288
293
command : shell.exec
289
294
params :
290
295
working_dir : src
@@ -304,7 +309,7 @@ functions:
304
309
echo "Uploading release assets to S3 and GitHub if needed..."
305
310
npm run upload ${compass_distribution}
306
311
307
- " save windows artifacts " :
312
+ ' save windows artifacts ' :
308
313
# setup
309
314
- << : *save-artifact
310
315
params :
@@ -332,33 +337,33 @@ functions:
332
337
local_file : src/dist/${windows_nupkg_full_filename}
333
338
remote_file : ${project}/${revision}/${windows_nupkg_full_filename}
334
339
335
- " save osx artifacts " :
340
+ ' save osx artifacts ' :
336
341
# .dmg
337
342
- << : *save-artifact
338
343
params :
339
344
local_file : src/dist/${osx_dmg_filename}
340
345
remote_file : ${project}/${revision}/${osx_dmg_filename}
341
- content_type : " application/x-apple-diskimage"
346
+ content_type : ' application/x-apple-diskimage'
342
347
# .zip
343
348
- << : *save-artifact
344
349
params :
345
350
local_file : src/dist/${osx_zip_filename}
346
351
remote_file : ${project}/${revision}/${osx_zip_filename}
347
352
content_type : application/zip
348
- " save linux artifacts " :
353
+ ' save linux artifacts ' :
349
354
# .deb
350
355
- << : *save-artifact
351
356
params :
352
357
local_file : src/dist/${linux_deb_filename}
353
358
remote_file : ${project}/${revision}/${linux_deb_filename}
354
- content_type : " application/vnd.debian.binary-package"
359
+ content_type : ' application/vnd.debian.binary-package'
355
360
# .tar.gz
356
361
- << : *save-artifact
357
362
params :
358
363
local_file : src/dist/${linux_tar_filename}
359
364
remote_file : ${project}/${revision}/${linux_tar_filename}
360
365
content_type : application/x-gzip
361
- " save rhel artifacts " :
366
+ ' save rhel artifacts ' :
362
367
# .rpm
363
368
- << : *save-artifact
364
369
params :
@@ -386,28 +391,28 @@ tasks:
386
391
- func : publish
387
392
vars :
388
393
compass_distribution : compass
389
- - func : " save osx artifacts"
394
+ - func : ' save osx artifacts'
390
395
- func : package
391
396
vars :
392
397
compass_distribution : compass-community
393
398
- func : publish
394
399
vars :
395
400
compass_distribution : compass-community
396
- - func : " save osx artifacts"
401
+ - func : ' save osx artifacts'
397
402
- func : package
398
403
vars :
399
404
compass_distribution : compass-isolated
400
405
- func : publish
401
406
vars :
402
407
compass_distribution : compass-isolated
403
- - func : " save osx artifacts"
408
+ - func : ' save osx artifacts'
404
409
- func : package
405
410
vars :
406
411
compass_distribution : compass-readonly
407
412
- func : publish
408
413
vars :
409
414
compass_distribution : compass-readonly
410
- - func : " save osx artifacts"
415
+ - func : ' save osx artifacts'
411
416
412
417
- name : compile
413
418
depends_on : []
@@ -419,7 +424,7 @@ tasks:
419
424
- name : verify
420
425
depends_on : [compile]
421
426
tags :
422
- - " verify"
427
+ - ' verify'
423
428
commands :
424
429
- func : restore
425
430
- func : verify
@@ -436,7 +441,7 @@ tasks:
436
441
- name : test-functional
437
442
depends_on : [compile]
438
443
tags :
439
- - " test"
444
+ - ' test'
440
445
commands :
441
446
- func : restore
442
447
- func : test
@@ -477,17 +482,17 @@ tasks:
477
482
- func : publish
478
483
vars :
479
484
compass_distribution : compass
480
- - func : " save windows artifacts"
485
+ - func : ' save windows artifacts'
481
486
variants : [windows]
482
487
# NOTE (@imlucas) Because macos can't utilize task parallelism
483
488
# and instead runs `oneshot-compile-test-package-publish`
484
489
# save osx artifacts doesn't apply here until we have more than
485
490
# 1 macos box setup to run functional tests.
486
491
# - func: 'save osx artifacts'
487
492
# variants: [macos]
488
- - func : " save linux artifacts"
493
+ - func : ' save linux artifacts'
489
494
variants : [ubuntu]
490
- - func : " save rhel artifacts"
495
+ - func : ' save rhel artifacts'
491
496
variants : [rhel]
492
497
493
498
- name : package-and-publish-compass-community
@@ -500,11 +505,11 @@ tasks:
500
505
- func : publish
501
506
vars :
502
507
compass_distribution : compass-community
503
- - func : " save windows artifacts"
508
+ - func : ' save windows artifacts'
504
509
variants : [windows]
505
- - func : " save linux artifacts"
510
+ - func : ' save linux artifacts'
506
511
variants : [ubuntu]
507
- - func : " save rhel artifacts"
512
+ - func : ' save rhel artifacts'
508
513
variants : [rhel]
509
514
510
515
- name : package-and-publish-compass-isolated
@@ -517,11 +522,11 @@ tasks:
517
522
- func : publish
518
523
vars :
519
524
compass_distribution : compass-isolated
520
- - func : " save windows artifacts"
525
+ - func : ' save windows artifacts'
521
526
variants : [windows]
522
- - func : " save linux artifacts"
527
+ - func : ' save linux artifacts'
523
528
variants : [ubuntu]
524
- - func : " save rhel artifacts"
529
+ - func : ' save rhel artifacts'
525
530
variants : [rhel]
526
531
527
532
- name : package-and-publish-compass-readonly
@@ -534,11 +539,11 @@ tasks:
534
539
- func : publish
535
540
vars :
536
541
compass_distribution : compass-readonly
537
- - func : " save windows artifacts"
542
+ - func : ' save windows artifacts'
538
543
variants : [windows]
539
- - func : " save linux artifacts"
544
+ - func : ' save linux artifacts'
540
545
variants : [ubuntu]
541
- - func : " save rhel artifacts"
546
+ - func : ' save rhel artifacts'
542
547
variants : [rhel]
543
548
544
549
# NOTE (@imlucas) Examples of how to extend which tests run
0 commit comments