@@ -141,7 +141,7 @@ functions:
141
141
--edition ${edition} \
142
142
--version $VERSION \
143
143
--arch x86_64 \
144
- --packages https://s3.amazonaws.com/mongodb-mongocli-build/${project}/${revision}/dist/mongocli_next_${revision}_${version_id}_${created_at}_linux_x86_64.rpm
144
+ --packages https://s3.amazonaws.com/mongodb-mongocli-build/${project}/${revision}/dist/mongocli_next_${revision}_${version_id}_${created_at}_linux_x86_64.${ext}
145
145
tasks :
146
146
- name : compile
147
147
commands :
@@ -206,6 +206,7 @@ tasks:
206
206
vars :
207
207
edition : enterprise
208
208
distro : rhel70
209
+ ext : rpm
209
210
- name : push_rhel70_org
210
211
# This should prevent this task from running in patch builds, where we
211
212
# don't want to publish packages.
@@ -225,6 +226,7 @@ tasks:
225
226
vars :
226
227
edition : org
227
228
distro : rhel70
229
+ ext : rpm
228
230
- name : push_rhel80_enterprise
229
231
# This should prevent this task from running in patch builds, where we
230
232
# don't want to publish packages.
@@ -245,6 +247,7 @@ tasks:
245
247
vars :
246
248
edition : enterprise
247
249
distro : rhel80
250
+ ext : rpm
248
251
- name : push_rhel80_org
249
252
# This should prevent this task from running in patch builds, where we
250
253
# don't want to publish packages.
@@ -265,6 +268,7 @@ tasks:
265
268
vars :
266
269
edition : org
267
270
distro : rhel80
271
+ ext : rpm
268
272
- name : push_amazon2_enterprise
269
273
# This should prevent this task from running in patch builds, where we
270
274
# don't want to publish packages.
@@ -280,6 +284,7 @@ tasks:
280
284
vars :
281
285
edition : enterprise
282
286
distro : amazon2
287
+ ext : rpm
283
288
- name : push_amazon2_org
284
289
# This should prevent this task from running in patch builds, where we
285
290
# don't want to publish packages.
@@ -300,6 +305,254 @@ tasks:
300
305
vars :
301
306
edition : org
302
307
distro : amazon2
308
+ ext : rpm
309
+ # DEB Distros
310
+ - name : push_ubuntu1604_enterprise
311
+ # This should prevent this task from running in patch builds, where we
312
+ # don't want to publish packages.
313
+ patchable : false
314
+ stepback : false
315
+ tags : ["push"]
316
+ depends_on :
317
+ - name : compile
318
+ - name : package
319
+ commands :
320
+ - func : " clone"
321
+ - func : " set up remote credentials"
322
+ vars :
323
+ aws_key_remote : ${repo_aws_key}
324
+ aws_secret_remote : ${repo_aws_secret}
325
+ - func : " set up notary client credentials"
326
+ - func : " push"
327
+ vars :
328
+ edition : enterprise
329
+ distro : ubuntu1604
330
+ ext : deb
331
+ - name : push_ubuntu1604_org
332
+ # This should prevent this task from running in patch builds, where we
333
+ # don't want to publish packages.
334
+ patchable : false
335
+ stepback : false
336
+ tags : ["push"]
337
+ depends_on :
338
+ - name : package
339
+ commands :
340
+ - func : " clone"
341
+ - func : " set up remote credentials"
342
+ vars :
343
+ aws_key_remote : ${repo_aws_key}
344
+ aws_secret_remote : ${repo_aws_secret}
345
+ - func : " set up notary client credentials"
346
+ - func : " push"
347
+ vars :
348
+ edition : org
349
+ distro : ubuntu1604
350
+ ext : deb
351
+ - name : push_ubuntu1804_enterprise
352
+ # This should prevent this task from running in patch builds, where we
353
+ # don't want to publish packages.
354
+ patchable : false
355
+ stepback : false
356
+ tags : ["push"]
357
+ depends_on :
358
+ - name : compile
359
+ - name : package
360
+ commands :
361
+ - func : " clone"
362
+ - func : " set up remote credentials"
363
+ vars :
364
+ aws_key_remote : ${repo_aws_key}
365
+ aws_secret_remote : ${repo_aws_secret}
366
+ - func : " set up notary client credentials"
367
+ - func : " push"
368
+ vars :
369
+ edition : enterprise
370
+ distro : ubuntu1804
371
+ ext : deb
372
+ - name : push_ubuntu1804_org
373
+ # This should prevent this task from running in patch builds, where we
374
+ # don't want to publish packages.
375
+ patchable : false
376
+ stepback : false
377
+ tags : ["push"]
378
+ depends_on :
379
+ - name : package
380
+ commands :
381
+ - func : " clone"
382
+ - func : " set up remote credentials"
383
+ vars :
384
+ aws_key_remote : ${repo_aws_key}
385
+ aws_secret_remote : ${repo_aws_secret}
386
+ - func : " set up notary client credentials"
387
+ - func : " push"
388
+ vars :
389
+ edition : org
390
+ distro : ubuntu1804
391
+ ext : deb
392
+ - name : push_debian71_enterprise
393
+ # This should prevent this task from running in patch builds, where we
394
+ # don't want to publish packages.
395
+ patchable : false
396
+ stepback : false
397
+ tags : ["push"]
398
+ depends_on :
399
+ - name : compile
400
+ - name : package
401
+ commands :
402
+ - func : " clone"
403
+ - func : " set up remote credentials"
404
+ vars :
405
+ aws_key_remote : ${repo_aws_key}
406
+ aws_secret_remote : ${repo_aws_secret}
407
+ - func : " set up notary client credentials"
408
+ - func : " push"
409
+ vars :
410
+ edition : enterprise
411
+ distro : debian71
412
+ ext : deb
413
+ - name : push_debian71_org
414
+ # This should prevent this task from running in patch builds, where we
415
+ # don't want to publish packages.
416
+ patchable : false
417
+ stepback : false
418
+ tags : ["push"]
419
+ depends_on :
420
+ - name : package
421
+ commands :
422
+ - func : " clone"
423
+ - func : " set up remote credentials"
424
+ vars :
425
+ aws_key_remote : ${repo_aws_key}
426
+ aws_secret_remote : ${repo_aws_secret}
427
+ - func : " set up notary client credentials"
428
+ - func : " push"
429
+ vars :
430
+ edition : org
431
+ distro : debian71
432
+ ext : deb
433
+ - name : push_debian81_enterprise
434
+ # This should prevent this task from running in patch builds, where we
435
+ # don't want to publish packages.
436
+ patchable : false
437
+ stepback : false
438
+ tags : ["push"]
439
+ depends_on :
440
+ - name : compile
441
+ - name : package
442
+ commands :
443
+ - func : " clone"
444
+ - func : " set up remote credentials"
445
+ vars :
446
+ aws_key_remote : ${repo_aws_key}
447
+ aws_secret_remote : ${repo_aws_secret}
448
+ - func : " set up notary client credentials"
449
+ - func : " push"
450
+ vars :
451
+ edition : enterprise
452
+ distro : debian81
453
+ ext : deb
454
+ - name : push_debian81_org
455
+ # This should prevent this task from running in patch builds, where we
456
+ # don't want to publish packages.
457
+ patchable : false
458
+ stepback : false
459
+ tags : ["push"]
460
+ depends_on :
461
+ - name : package
462
+ commands :
463
+ - func : " clone"
464
+ - func : " set up remote credentials"
465
+ vars :
466
+ aws_key_remote : ${repo_aws_key}
467
+ aws_secret_remote : ${repo_aws_secret}
468
+ - func : " set up notary client credentials"
469
+ - func : " push"
470
+ vars :
471
+ edition : org
472
+ distro : debian81
473
+ ext : deb
474
+ - name : push_debian92_enterprise
475
+ # This should prevent this task from running in patch builds, where we
476
+ # don't want to publish packages.
477
+ patchable : false
478
+ stepback : false
479
+ tags : ["push"]
480
+ depends_on :
481
+ - name : compile
482
+ - name : package
483
+ commands :
484
+ - func : " clone"
485
+ - func : " set up remote credentials"
486
+ vars :
487
+ aws_key_remote : ${repo_aws_key}
488
+ aws_secret_remote : ${repo_aws_secret}
489
+ - func : " set up notary client credentials"
490
+ - func : " push"
491
+ vars :
492
+ edition : enterprise
493
+ distro : debian92
494
+ ext : deb
495
+ - name : push_debian92_org
496
+ # This should prevent this task from running in patch builds, where we
497
+ # don't want to publish packages.
498
+ patchable : false
499
+ stepback : false
500
+ tags : ["push"]
501
+ depends_on :
502
+ - name : package
503
+ commands :
504
+ - func : " clone"
505
+ - func : " set up remote credentials"
506
+ vars :
507
+ aws_key_remote : ${repo_aws_key}
508
+ aws_secret_remote : ${repo_aws_secret}
509
+ - func : " set up notary client credentials"
510
+ - func : " push"
511
+ vars :
512
+ edition : org
513
+ distro : debian92
514
+ ext : deb
515
+ - name : push_debian10_enterprise
516
+ # This should prevent this task from running in patch builds, where we
517
+ # don't want to publish packages.
518
+ patchable : false
519
+ stepback : false
520
+ tags : ["push"]
521
+ depends_on :
522
+ - name : compile
523
+ - name : package
524
+ commands :
525
+ - func : " clone"
526
+ - func : " set up remote credentials"
527
+ vars :
528
+ aws_key_remote : ${repo_aws_key}
529
+ aws_secret_remote : ${repo_aws_secret}
530
+ - func : " set up notary client credentials"
531
+ - func : " push"
532
+ vars :
533
+ edition : enterprise
534
+ distro : debian10
535
+ ext : deb
536
+ - name : push_debian10_org
537
+ # This should prevent this task from running in patch builds, where we
538
+ # don't want to publish packages.
539
+ patchable : false
540
+ stepback : false
541
+ tags : ["push"]
542
+ depends_on :
543
+ - name : package
544
+ commands :
545
+ - func : " clone"
546
+ - func : " set up remote credentials"
547
+ vars :
548
+ aws_key_remote : ${repo_aws_key}
549
+ aws_secret_remote : ${repo_aws_secret}
550
+ - func : " set up notary client credentials"
551
+ - func : " push"
552
+ vars :
553
+ edition : org
554
+ distro : debian10
555
+ ext : deb
303
556
buildvariants :
304
557
- name : publish
305
558
display_name : " Packaging & Publishing"
0 commit comments