Skip to content

Commit 53cbbd5

Browse files
derickrjmikola
authored andcommitted
PHPC-858, PHPC-859: Implement the full (for now) matrix
1 parent 232ddde commit 53cbbd5

File tree

1 file changed

+164
-36
lines changed

1 file changed

+164
-36
lines changed

.evergreen/config.yml

Lines changed: 164 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,36 @@ tasks:
482482
CONFIG: "standalone"
483483
- func: "run tests"
484484

485+
- name: "test-standalone-auth"
486+
tags: ["standalone"]
487+
commands:
488+
- func: "compile driver"
489+
- func: "bootstrap mongo-orchestration"
490+
vars:
491+
TOPOLOGY: "standalone"
492+
CONFIG: "standalone-auth"
493+
- func: "run tests"
494+
495+
- name: "test-standalone-ssl"
496+
tags: ["standalone"]
497+
commands:
498+
- func: "compile driver"
499+
- func: "bootstrap mongo-orchestration"
500+
vars:
501+
TOPOLOGY: "standalone"
502+
CONFIG: "standalone-ssl"
503+
- func: "run tests"
504+
505+
- name: "test-standalone-old"
506+
tags: ["standalone"]
507+
commands:
508+
- func: "compile driver"
509+
- func: "bootstrap mongo-orchestration"
510+
vars:
511+
TOPOLOGY: "standalone"
512+
CONFIG: "standalone-old"
513+
- func: "run tests"
514+
485515
- name: "test-replicaset"
486516
tags: ["replicaset"]
487517
commands:
@@ -492,6 +522,36 @@ tasks:
492522
CONFIG: "replicaset"
493523
- func: "run tests"
494524

525+
- name: "test-replicaset-auth"
526+
tags: ["replicaset"]
527+
commands:
528+
- func: "compile driver"
529+
- func: "bootstrap mongo-orchestration"
530+
vars:
531+
TOPOLOGY: "replica_sets"
532+
CONFIG: "replicaset-auth"
533+
- func: "run tests"
534+
535+
- name: "test-replicaset-single"
536+
tags: ["replicaset"]
537+
commands:
538+
- func: "compile driver"
539+
- func: "bootstrap mongo-orchestration"
540+
vars:
541+
TOPOLOGY: "replica_sets"
542+
CONFIG: "replicaset-one-node"
543+
- func: "run tests"
544+
545+
- name: "test-replicaset-old"
546+
tags: ["replicaset"]
547+
commands:
548+
- func: "compile driver"
549+
- func: "bootstrap mongo-orchestration"
550+
vars:
551+
TOPOLOGY: "replica_sets"
552+
CONFIG: "replicaset-old"
553+
- func: "run tests"
554+
495555
- name: "test-sharded"
496556
tags: ["sharded"]
497557
commands:
@@ -502,6 +562,16 @@ tasks:
502562
CONFIG: "cluster"
503563
- func: "run tests"
504564

565+
- name: "test-sharded-rs"
566+
tags: ["sharded"]
567+
commands:
568+
- func: "compile driver"
569+
- func: "bootstrap mongo-orchestration"
570+
vars:
571+
TOPOLOGY: "sharded_clusters"
572+
CONFIG: "cluster_replset"
573+
- func: "run tests"
574+
505575
# }}}
506576

507577

@@ -521,6 +591,18 @@ axes:
521591
display_name: "3.6"
522592
variables:
523593
VERSION: "3.6"
594+
- id: "3.4"
595+
display_name: "3.4"
596+
variables:
597+
VERSION: "3.4"
598+
- id: "3.2"
599+
display_name: "3.2"
600+
variables:
601+
VERSION: "3.2"
602+
- id: "3.0"
603+
display_name: "3.0"
604+
variables:
605+
VERSION: "3.0"
524606

525607
- id: php-versions
526608
display_name: PHP Version
@@ -546,8 +628,19 @@ axes:
546628
variables:
547629
PHP_VERSION: "5.5.38"
548630

549-
# OSes that support versions of MongoDB>=4.0 with SSL.
550-
- id: os-requires-40
631+
- id: os-php5
632+
display_name: OS
633+
values:
634+
- id: ubuntu1604-test
635+
display_name: "Ubuntu 16.04"
636+
run_on: ubuntu1604-test
637+
- id: rhel70-test
638+
display_name: "RHEL 7.0"
639+
run_on: rhel70
640+
- id: rhel72-zseries
641+
display_name: "RHEL 7.2 zSeries"
642+
run_on: rhel72-zseries-test
643+
- id: os-php7
551644
display_name: OS
552645
values:
553646
- id: debian92-test
@@ -556,46 +649,81 @@ axes:
556649
- id: rhel70-test
557650
display_name: "RHEL 7.0"
558651
run_on: rhel70
652+
- id: rhel72-zseries
653+
display_name: "RHEL 7.2 zSeries"
654+
run_on: rhel72-zseries-test
559655

560-
- id: topology
561-
display_name: Topology
562-
values:
563-
- id: standalone
564-
display_name: Standalone
565-
variables:
566-
TOPOLOGY: "server"
567-
- id: replicaset
568-
display_name: Replica Set
569-
variables:
570-
TOPOLOGY: "replica_set"
571-
- id: sharded-cluster
572-
display_name: Sharded Cluster
573-
variables:
574-
TOPOLOGY: "sharded_cluster"
656+
buildvariants:
575657

576-
- id: storage-engine
577-
display_name: Storage
578-
values:
579-
- id: mmapv1
580-
display_name: MMAPv1
581-
variables:
582-
STORAGE_ENGINE: "mmapv1"
583-
- id: wiredtiger
584-
display_name: WiredTiger
585-
variables:
586-
STORAGE_ENGINE: "wiredtiger"
587-
- id: inmemory
588-
display_name: InMemory
589-
variables:
590-
STORAGE_ENGINE: "inmemory"
658+
- matrix_name: "tests-php5"
659+
matrix_spec: {"os-php5": "*", "versions": "4.0", "php-versions": ["5.5", "5.6"] }
660+
display_name: "All: ${os-php5}: MongoDB ${versions}/${php-versions}"
661+
tasks:
662+
- name: "test-standalone-ssl"
663+
- name: "test-replicaset-auth"
664+
665+
- matrix_name: "tests-php7"
666+
matrix_spec: {"os-php7": "*", "versions": "4.0", "php-versions": ["7.0","7.1","7.2"] }
667+
display_name: "All: ${os-php7}: MongoDB ${versions}/${php-versions}"
668+
tasks:
669+
- name: "test-standalone-ssl"
670+
- name: "test-replicaset-auth"
591671

592672

593-
buildvariants:
673+
- matrix_name: "mongo-old-php5"
674+
matrix_spec: {"os-php5": "*", "versions": ["3.0", "3.2", "3.4"], "php-versions": "5.6" }
675+
display_name: "${os-php5}: MongoDB ${versions}/${php-versions}"
676+
tasks:
677+
- name: "test-standalone-old"
678+
- name: "test-replicaset-old"
679+
680+
- matrix_name: "mongo-old-php7"
681+
matrix_spec: {"os-php7": "*", "versions": ["3.0", "3.2", "3.4"], "php-versions": "7.2" }
682+
display_name: "${os-php7}: MongoDB ${versions}/PHP ${php-versions}"
683+
tasks:
684+
- name: "test-standalone-old"
685+
- name: "test-replicaset-old"
686+
687+
688+
- matrix_name: "mongo-legacy-php5"
689+
matrix_spec: {"os-php5": "*", "versions": ["3.6"], "php-versions": "5.6" }
690+
display_name: "${os-php5}: MongoDB ${versions}/${php-versions}"
691+
tasks:
692+
- name: "test-standalone"
693+
- name: "test-replicaset"
694+
- name: "test-replicaset-auth"
695+
696+
- matrix_name: "mongo-legacy-php7"
697+
matrix_spec: {"os-php7": "*", "versions": ["3.6"], "php-versions": "7.2" }
698+
display_name: "${os-php7}: MongoDB ${versions}/${php-versions}"
699+
tasks:
700+
- name: "test-standalone"
701+
- name: "test-replicaset"
702+
- name: "test-replicaset-auth"
703+
704+
705+
- matrix_name: "mongo-new-php5"
706+
matrix_spec: {"os-php5": "*", "versions": ["4.0", "latest"], "php-versions": "5.6" }
707+
display_name: "${os-php5}: MongoDB ${versions}/${php-versions}"
708+
tasks:
709+
- name: "test-standalone"
710+
- name: "test-standalone-auth"
711+
- name: "test-standalone-ssl"
712+
- name: "test-replicaset"
713+
- name: "test-replicaset-auth"
714+
- name: "test-replicaset-single"
715+
- name: "test-sharded"
716+
- name: "test-sharded-rs"
594717

595-
- matrix_name: "tests-os-requires-40"
596-
matrix_spec: {"os-requires-40": "*", "versions": "*", "php-versions": "*" }
597-
display_name: "${os-requires-40}: MongoDB ${versions} with ${php-versions}"
718+
- matrix_name: "mongo-new-php7"
719+
matrix_spec: {"os-php7": "*", "versions": ["4.0", "latest"], "php-versions": "7.2" }
720+
display_name: "${os-php7}: MongoDB ${versions}/${php-versions}"
598721
tasks:
599722
- name: "test-standalone"
723+
- name: "test-standalone-auth"
724+
- name: "test-standalone-ssl"
600725
- name: "test-replicaset"
726+
- name: "test-replicaset-auth"
727+
- name: "test-replicaset-single"
601728
- name: "test-sharded"
729+
- name: "test-sharded-rs"

0 commit comments

Comments
 (0)