-
Notifications
You must be signed in to change notification settings - Fork 208
PHPC-2200: Add MongoDB rapid releases to Evergreen matrix #1408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d660fe5
d87d2e9
570b092
87c9136
f231a9f
3f5f4fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -361,7 +361,7 @@ functions: | |
params: | ||
script: | | ||
${PREPARE_SHELL} | ||
MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} STORAGE_ENGINE=${STORAGE_ENGINE} LOAD_BALANCER=${LOAD_BALANCER} REQUIRE_API_VERSION=${REQUIRE_API_VERSION} ORCHESTRATION_FILE=${ORCHESTRATION_FILE} sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh | ||
MONGODB_VERSION=${MONGODB_VERSION} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} STORAGE_ENGINE=${STORAGE_ENGINE} LOAD_BALANCER=${LOAD_BALANCER} REQUIRE_API_VERSION=${REQUIRE_API_VERSION} ORCHESTRATION_FILE=${ORCHESTRATION_FILE} sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh | ||
# run-orchestration generates expansion file with MONGODB_URI and CRYPT_SHARED_LIB_PATH | ||
- command: expansions.update | ||
params: | ||
|
@@ -1035,43 +1035,47 @@ axes: | |
- id: "latest" | ||
display_name: "MongoDB latest" | ||
variables: | ||
VERSION: "latest" | ||
MONGODB_VERSION: "latest" | ||
- id: "rapid" | ||
display_name: "MongoDB rapid" | ||
variables: | ||
MONGODB_VERSION: "rapid" | ||
- id: "6.0" | ||
display_name: "MongoDB 6.0" | ||
variables: | ||
VERSION: "6.0" | ||
MONGODB_VERSION: "6.0" | ||
- id: "5.0" | ||
display_name: "MongoDB 5.0" | ||
variables: | ||
VERSION: "5.0" | ||
MONGODB_VERSION: "5.0" | ||
- id: "4.4" | ||
display_name: "MongoDB 4.4" | ||
variables: | ||
VERSION: "4.4" | ||
MONGODB_VERSION: "4.4" | ||
- id: "4.2" | ||
display_name: "MongoDB 4.2" | ||
variables: | ||
VERSION: "4.2" | ||
MONGODB_VERSION: "4.2" | ||
- id: "4.0" | ||
display_name: "MongoDB 4.0" | ||
variables: | ||
VERSION: "4.0" | ||
MONGODB_VERSION: "4.0" | ||
- id: "3.6" | ||
display_name: "MongoDB 3.6" | ||
variables: | ||
VERSION: "3.6" | ||
MONGODB_VERSION: "3.6" | ||
|
||
- id: mongodb-edge-versions | ||
display_name: MongoDB Version | ||
values: | ||
- id: "latest-stable" | ||
display_name: "MongoDB 5.0" | ||
display_name: "MongoDB 6.0" | ||
variables: | ||
VERSION: "5.0" | ||
MONGODB_VERSION: "6.0" | ||
- id: "oldest-supported" | ||
display_name: "MongoDB 3.6" | ||
variables: | ||
VERSION: "3.6" | ||
MONGODB_VERSION: "3.6" | ||
|
||
- id: php-versions | ||
display_name: PHP Version | ||
|
@@ -1196,7 +1200,7 @@ buildvariants: | |
display_name: "${os}, ${mongodb-versions}, ${php-edge-versions}" | ||
exclude_spec: | ||
# Debian 9.2 only supports up to MongoDB 5.0 | ||
- { "os": "debian92", "mongodb-versions": ["6.0", "latest"], "php-edge-versions": "latest-stable" } | ||
- { "os": "debian92", "mongodb-versions": ["6.0", "rapid", "latest"], "php-edge-versions": "latest-stable" } | ||
- { "os": "debian11", "mongodb-versions": ["3.6", "4.0", "4.2", "4.4", "5.0"], "php-edge-versions": "latest-stable" } | ||
tasks: | ||
- name: "test-standalone" | ||
|
@@ -1208,7 +1212,7 @@ buildvariants: | |
|
||
# Test ARM64, Power8, and zSeries architectures with MongoDB 4.4 | ||
- matrix_name: "test-alt-archs" | ||
matrix_spec: { "os": ["rhel71-power8", "rhel72-zseries", "ubuntu1804-arm64"], "mongodb-versions": ["4.4"], "php-edge-versions": "oldest-supported" } | ||
matrix_spec: { "os": ["rhel71-power8", "rhel72-zseries", "ubuntu1804-arm64"], "mongodb-versions": "4.4", "php-edge-versions": "oldest-supported" } | ||
display_name: "${os}, ${mongodb-versions}, ${php-edge-versions}" | ||
tasks: | ||
- name: "test-standalone-ssl" | ||
|
@@ -1236,30 +1240,38 @@ buildvariants: | |
tasks: | ||
- name: "test-atlas" | ||
|
||
# OCSP is available from MongoDB 4.4+ (Debian 10 has MongoDB 4.4+) | ||
- matrix_name: "test-ocsp" | ||
matrix_spec: { "os": "debian10", "mongodb-versions": ["4.4", "5.0", "6.0"], "php-edge-versions": "latest-stable" } | ||
matrix_spec: { "os": "debian10", "mongodb-versions": "*", "php-edge-versions": "latest-stable" } | ||
display_name: "OCSP tests - ${mongodb-versions}" | ||
exclude_spec: | ||
# OCSP is available from MongoDB 4.4+ (Debian 10 has MongoDB 4.4+) | ||
- { "os": "debian10", "mongodb-versions": ["3.6", "4.0", "4.2"], "php-edge-versions": "latest-stable" } | ||
tasks: | ||
- name: ".ocsp" | ||
|
||
# Stable API is available from MongoDB 5.0+ | ||
- matrix_name: "test-requireApiVersion" | ||
matrix_spec: { "os": "debian11", "mongodb-versions": ["5.0", "6.0"], "php-edge-versions": "latest-stable" } | ||
matrix_spec: { "os": "debian11", "mongodb-versions": "*", "php-edge-versions": "latest-stable" } | ||
display_name: "Versioned API - ${mongodb-versions}" | ||
exclude_spec: | ||
# Stable API is available from MongoDB 5.0+ | ||
- { "os": "debian11", "mongodb-versions": ["3.6", "4.0", "4.2", "4.4"], "php-edge-versions": "latest-stable" } | ||
tasks: | ||
- name: "test-requireApiVersion" | ||
|
||
# Load balancer is available from MongoDB 5.0+ | ||
- matrix_name: "test-loadBalanced" | ||
matrix_spec: { "os": "debian11", "mongodb-versions": ["5.0", "6.0"], "php-edge-versions": "latest-stable" } | ||
matrix_spec: { "os": "debian11", "mongodb-versions": "*", "php-edge-versions": "latest-stable" } | ||
display_name: "Load balanced - ${mongodb-versions}" | ||
exclude_spec: | ||
# Load balancer is available from MongoDB 5.0+ | ||
- { "os": "debian11", "mongodb-versions": ["3.6", "4.0", "4.2", "4.4"], "php-edge-versions": "latest-stable" } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The See also: mongodb/mongo-php-library#1056 (comment) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SGTM 👍 |
||
tasks: | ||
- name: "test-loadBalanced" | ||
|
||
# CSFLE crypt_shared is available from MongoDB 6.0+, so explicitly test without it to allow use of mongocryptd | ||
- matrix_name: "test-csfle-skip_crypt_shared" | ||
matrix_spec: { "os": "debian11", "mongodb-versions": "6.0", "php-edge-versions": "latest-stable" } | ||
matrix_spec: { "os": "debian11", "mongodb-versions": "*", "php-edge-versions": "latest-stable" } | ||
display_name: "CSFLE skip_crypt_shared - ${mongodb-versions}" | ||
exclude_spec: | ||
# CSFLE crypt_shared is available from MongoDB 6.0+ | ||
- { "os": "debian11", "mongodb-versions": ["3.6", "4.0", "4.2", "4.4", "5.0"], "php-edge-versions": "latest-stable" } | ||
tasks: | ||
- name: "test-skip_crypt_shared" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on using "rapid" here?
See also: mongodb/mongo-php-library#1056 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quoting @JamesKovacs from Slack:
With that in mind, I think keeping 6.0 makes sense here and we can just bump to 7.0 when that gets released.