@@ -718,7 +718,14 @@ const coverageTask = {
718
718
func : 'download and merge coverage'
719
719
}
720
720
] ,
721
- depends_on : [ { name : '*' , variant : '*' , status : '*' , patch_optional : true } ]
721
+ depends_on : [
722
+ {
723
+ name : '*' ,
724
+ variant : '* !performance-tests' ,
725
+ status : '*' ,
726
+ patch_optional : true
727
+ }
728
+ ]
722
729
} ;
723
730
724
731
SINGLETON_TASKS . push ( coverageTask ) ;
@@ -768,7 +775,8 @@ function addPerformanceTasks() {
768
775
name : 'performance-tests' ,
769
776
display_name : 'Performance Test' ,
770
777
run_on : 'rhel90-dbx-perf-large' ,
771
- tasks : tasks . map ( ( { name } ) => name )
778
+ tasks : tasks . map ( ( { name } ) => name ) ,
779
+ tags : [ 'performance' ]
772
780
} ) ;
773
781
}
774
782
addPerformanceTasks ( ) ;
@@ -872,15 +880,17 @@ for (const variant of BUILD_VARIANTS.filter(
872
880
}
873
881
874
882
const fileData = yaml . load ( fs . readFileSync ( `${ __dirname } /config.in.yml` , 'utf8' ) ) ;
875
- fileData . tasks = ( fileData . tasks || [ ] )
876
- . concat ( BASE_TASKS )
877
- . concat ( TASKS )
878
- . concat ( SINGLETON_TASKS )
879
- . concat ( AUTH_DISABLED_TASKS )
880
- . concat ( AWS_LAMBDA_HANDLER_TASKS )
881
- . concat ( MONGOCRYPTD_CSFLE_TASKS ) ;
882
-
883
- fileData . buildvariants = ( fileData . buildvariants || [ ] ) . concat ( BUILD_VARIANTS ) ;
883
+ fileData . tasks = [
884
+ ...( fileData . tasks ?? [ ] ) ,
885
+ ...BASE_TASKS ,
886
+ ...TASKS ,
887
+ ...SINGLETON_TASKS ,
888
+ ...AUTH_DISABLED_TASKS ,
889
+ ...AWS_LAMBDA_HANDLER_TASKS ,
890
+ ...MONGOCRYPTD_CSFLE_TASKS
891
+ ] ;
892
+
893
+ fileData . buildvariants = [ ...( fileData . buildvariants ?? [ ] ) , ...BUILD_VARIANTS ] ;
884
894
885
895
fs . writeFileSync (
886
896
`${ __dirname } /config.yml` ,
0 commit comments