1
1
version : 2.1
2
2
3
+ parameters :
4
+ run_default_flow :
5
+ default : true
6
+ type : boolean
7
+ run_benchmark_flow_label :
8
+ default : false
9
+ type : boolean
10
+
3
11
commands :
4
12
early-returns :
5
13
steps :
@@ -499,7 +507,6 @@ on-integ-branch: &on-integ-branch
499
507
- master
500
508
- /^\d+\.\d+.*$/
501
509
- /^feature-.*$/
502
- - /^perf.*$/
503
510
tags :
504
511
ignore : /.*/
505
512
@@ -510,7 +517,6 @@ on-integ-branch-cron: &on-integ-branch-cron
510
517
- master
511
518
- /^\d+\.\d+.*$/
512
519
- /^feature-.*$/
513
- - /^perf.*$/
514
520
515
521
not-on-integ-branch : ¬-on-integ-branch
516
522
filters :
@@ -519,7 +525,6 @@ not-on-integ-branch: ¬-on-integ-branch
519
525
- master
520
526
- /^\d+\.\d+.*$/
521
527
- /^feature-.*$/
522
- - /^perf.*$/
523
528
tags :
524
529
ignore : /.*/
525
530
@@ -537,7 +542,6 @@ on-integ-and-version-tags: &on-integ-and-version-tags
537
542
- master
538
543
- /^\d+\.\d+.*$/
539
544
- /^feature-.*$/
540
- - /^perf.*$/
541
545
tags :
542
546
only : /^v[0-9].*/
543
547
@@ -546,6 +550,8 @@ on-integ-and-version-tags: &on-integ-and-version-tags
546
550
workflows :
547
551
version : 2
548
552
default-flow :
553
+ when :
554
+ << pipeline.parameters.run_default_flow >>
549
555
jobs :
550
556
- build-linux-debian :
551
557
name : build
@@ -602,7 +608,17 @@ workflows:
602
608
<< : *on-integ-and-version-tags
603
609
context : common
604
610
605
-
611
+ benchmark_flow_label :
612
+ when :
613
+ << pipeline.parameters.run_benchmark_flow_label >>
614
+ jobs :
615
+ - benchmark-json-oss-standalone :
616
+ << : *on-any-branch
617
+ context : common
618
+ - benchmark-json-oss-standalone-profiler :
619
+ << : *on-any-branch
620
+ context : common
621
+
606
622
nightly :
607
623
triggers :
608
624
- schedule :
@@ -614,6 +630,16 @@ workflows:
614
630
matrix :
615
631
parameters :
616
632
redis_version : ["6.0", "6.2", "7", "unstable"]
633
+
634
+ nightly-perf-once-a-week :
635
+ triggers :
636
+ - schedule :
637
+ # “At 07:00 on Mondays.”
638
+ cron : " 00 07 * * 1"
639
+ filters :
640
+ branches :
641
+ only : master
642
+ jobs :
617
643
- benchmark-json-oss-standalone :
618
644
context : common
619
645
- benchmark-json-oss-standalone-profiler :
0 commit comments