Skip to content

Commit 83042fd

Browse files
authored
PHPLIB-1098: Update evergreen build hosts (#1442)
* Change build hosts on Evergreen Test PHP versions on the following systems: - Debian 11, 10 - RHEL 9.0, 8.0, 7.6 - Ubuntu 22.04, 20.04 (x64 and arm64) - RHEL 7.2 zSeries - RHEL 7.1 power8 Note that RHEL 9 and Ubuntu 22.04 only test PHP 8.1 and newer due to OpenSSL 3 * Skip installing legacy shell on RHEL 9 and Ubuntu 22.04 * Skip installing legacy shell on all platforms
1 parent 2b442a4 commit 83042fd

File tree

1 file changed

+55
-16
lines changed

1 file changed

+55
-16
lines changed

.evergreen/config.yml

Lines changed: 55 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ functions:
361361
params:
362362
script: |
363363
${PREPARE_SHELL}
364-
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
364+
SKIP_LEGACY_SHELL=true 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
365365
# run-orchestration generates expansion file with MONGODB_URI and CRYPT_SHARED_LIB_PATH
366366
- command: expansions.update
367367
params:
@@ -1124,27 +1124,52 @@ axes:
11241124
- id: os
11251125
display_name: OS
11261126
values:
1127+
# Debian
11271128
- id: debian11
11281129
display_name: "Debian 11"
1129-
run_on: debian11
1130+
run_on: debian11-small
11301131
- id: debian10
11311132
display_name: "Debian 10"
1132-
run_on: debian10
1133+
run_on: debian10-small
11331134
- id: debian92
11341135
display_name: "Debian 9.2"
1135-
run_on: debian92
1136-
- id: rhel70
1137-
display_name: "RHEL 7.0"
1138-
run_on: rhel70
1136+
run_on: debian92-small
1137+
1138+
# RHEL
1139+
- id: rhel90
1140+
display_name: "RHEL 9.0"
1141+
run_on: rhel90-small
1142+
# TODO: RHEL 8.x is not working yet
1143+
# - id: rhel82-arm64
1144+
# display_name: "RHEL 8.2 ARM64"
1145+
# run_on: rhel82-arm64-small
1146+
# - id: rhel80
1147+
# display_name: "RHEL 8.0"
1148+
# run_on: rhel80-small
1149+
- id: rhel76
1150+
display_name: "RHEL 7.6"
1151+
run_on: rhel76-small
11391152
- id: rhel71-power8
11401153
display_name: "RHEL 7.1 Power 8"
11411154
run_on: rhel71-power8-build
11421155
- id: rhel72-zseries
11431156
display_name: "RHEL 7.2 zSeries"
11441157
run_on: rhel72-zseries-build
1145-
- id: ubuntu1804-arm64
1146-
display_name: "Ubuntu 18.04 ARM64"
1147-
run_on: ubuntu1804-arm64-test
1158+
1159+
# Ubuntu LTS
1160+
- id: ubuntu2204
1161+
display_name: "Ubuntu 22.04 x64"
1162+
run_on: ubuntu2204-small
1163+
- id: ubuntu2204-arm64
1164+
display_name: "Ubuntu 22.04 ARM64"
1165+
run_on: ubuntu2204-arm64-small
1166+
- id: ubuntu2004
1167+
display_name: "Ubuntu 20.04 x64"
1168+
run_on: ubuntu2004-small
1169+
- id: ubuntu2004-arm64
1170+
display_name: "Ubuntu 20.04 ARM64"
1171+
run_on: ubuntu2004-arm64-small
1172+
11481173
# Pending installation of PHP toolchain on macOS hosts (see: PHPC-869)
11491174
# - id: macos-1014
11501175
# display_name: "Mac OS 10.14"
@@ -1184,15 +1209,29 @@ axes:
11841209

11851210

11861211
buildvariants:
1187-
# Test all PHP versions with latest-stable MongoDB on Debian 11 and RHEL 7.0
1212+
# Test all PHP versions with latest-stable MongoDB on Debian 11, Debian 10, RHEL 8.0, Ubuntu 20.04
11881213
- matrix_name: "test-php-versions"
1189-
matrix_spec: { "os": ["rhel70", "debian11"], "mongodb-edge-versions": "latest-stable", "php-versions": "*" }
1214+
matrix_spec:
1215+
os:
1216+
- debian11
1217+
- debian10
1218+
- rhel90
1219+
# TODO: RHEL 8.x is not working yet
1220+
# - rhel82-arm64
1221+
# - rhel80
1222+
- rhel76
1223+
- ubuntu2204-arm64
1224+
- ubuntu2204
1225+
- ubuntu2004-arm64
1226+
- ubuntu2004
1227+
mongodb-edge-versions: latest-stable
1228+
php-versions: "*"
11901229
display_name: "${os}, ${mongodb-edge-versions}, ${php-versions}"
11911230
exclude_spec:
11921231
# Exclude "latest-stable" PHP version for Debian 11 (see: test-mongodb-versions matrix)
11931232
- { "os": "debian11", "mongodb-edge-versions": "*", "php-versions": "8.2" }
1194-
# PHP 8.1+ is not available on rhel70
1195-
- { "os": "rhel70", "mongodb-edge-versions": "*", "php-versions": ["8.1", "8.2"] }
1233+
# Exclude PHP versions older than 8.1 on RHEL 9 and Ubuntu 22.04 (OpenSSL 3 is only supported on PHP 8.1+)
1234+
- { "os": ["rhel90", "ubuntu2204-arm64", "ubuntu2204"], "mongodb-edge-versions": "*", "php-versions": ["7.2", "7.3", "7.4", "8.0"] }
11961235
tasks:
11971236
- name: "test-standalone-ssl"
11981237
- name: "test-replicaset-auth"
@@ -1214,9 +1253,9 @@ buildvariants:
12141253
- name: "test-replicaset-auth"
12151254
- name: "test-sharded"
12161255

1217-
# Test ARM64, Power8, and zSeries architectures with MongoDB 4.4
1256+
# Test RHEL Power8 and zSeries architectures with MongoDB 4.4
12181257
- matrix_name: "test-alt-archs"
1219-
matrix_spec: { "os": ["rhel71-power8", "rhel72-zseries", "ubuntu1804-arm64"], "mongodb-versions": "4.4", "php-edge-versions": "oldest-supported" }
1258+
matrix_spec: { "os": ["rhel71-power8", "rhel72-zseries"], "mongodb-versions": "4.4", "php-edge-versions": "oldest-supported" }
12201259
display_name: "${os}, ${mongodb-versions}, ${php-edge-versions}"
12211260
tasks:
12221261
- name: "test-standalone-ssl"

0 commit comments

Comments
 (0)