Skip to content

Commit be87f76

Browse files
committed
pr feedback: pare down the list of nodeless tasks
1 parent 76634cb commit be87f76

File tree

2 files changed

+78
-111
lines changed

2 files changed

+78
-111
lines changed

.evergreen/config.yml

Lines changed: 44 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -3725,60 +3725,6 @@ buildvariants:
37253725
- test-tls-support-5.0
37263726
- test-tls-support-4.4
37273727
- test-tls-support-4.2
3728-
- name: rhel80-large-nodeless
3729-
display_name: rhel8 Nodeless
3730-
run_on: rhel80-large
3731-
expansions:
3732-
MONGODB_BUNDLED: true
3733-
NODE_LTS_VERSION: latest
3734-
CLIENT_ENCRYPTION: true
3735-
tasks:
3736-
- test-latest-server
3737-
- test-latest-replica_set
3738-
- test-latest-sharded_cluster
3739-
- test-rapid-server
3740-
- test-rapid-replica_set
3741-
- test-rapid-sharded_cluster
3742-
- test-8.0-server
3743-
- test-8.0-replica_set
3744-
- test-8.0-sharded_cluster
3745-
- test-7.0-server
3746-
- test-7.0-replica_set
3747-
- test-7.0-sharded_cluster
3748-
- test-6.0-server
3749-
- test-6.0-replica_set
3750-
- test-6.0-sharded_cluster
3751-
- test-5.0-server
3752-
- test-5.0-replica_set
3753-
- test-5.0-sharded_cluster
3754-
- test-4.4-server
3755-
- test-4.4-replica_set
3756-
- test-4.4-sharded_cluster
3757-
- test-4.2-server
3758-
- test-4.2-replica_set
3759-
- test-4.2-sharded_cluster
3760-
- test-latest-server-v1-api
3761-
- test-x509-authentication
3762-
- test-atlas-connectivity
3763-
- test-5.0-load-balanced
3764-
- test-6.0-load-balanced
3765-
- test-7.0-load-balanced
3766-
- test-8.0-load-balanced
3767-
- test-rapid-load-balanced
3768-
- test-latest-load-balanced
3769-
- test-auth-kerberos
3770-
- test-auth-ldap
3771-
- test-socks5-csfle
3772-
- test-socks5-tls
3773-
- test-snappy-compression
3774-
- test-zstd-compression
3775-
- test-tls-support-latest
3776-
- test-tls-support-8.0
3777-
- test-tls-support-7.0
3778-
- test-tls-support-6.0
3779-
- test-tls-support-5.0
3780-
- test-tls-support-4.4
3781-
- test-tls-support-4.2
37823728
- name: windows-2022-latest-large-iron
37833729
display_name: Windows Node20.19.0
37843730
run_on: windows-2022-latest-large
@@ -3911,49 +3857,6 @@ buildvariants:
39113857
- test-tls-support-5.0
39123858
- test-tls-support-4.4
39133859
- test-tls-support-4.2
3914-
- name: windows-2022-latest-large-nodeless
3915-
display_name: Windows Nodeless
3916-
run_on: windows-2022-latest-large
3917-
expansions:
3918-
MONGODB_BUNDLED: true
3919-
NODE_LTS_VERSION: latest
3920-
CLIENT_ENCRYPTION: false
3921-
tasks:
3922-
- test-latest-server
3923-
- test-latest-replica_set
3924-
- test-latest-sharded_cluster
3925-
- test-rapid-server
3926-
- test-rapid-replica_set
3927-
- test-rapid-sharded_cluster
3928-
- test-8.0-server
3929-
- test-8.0-replica_set
3930-
- test-8.0-sharded_cluster
3931-
- test-7.0-server
3932-
- test-7.0-replica_set
3933-
- test-7.0-sharded_cluster
3934-
- test-6.0-server
3935-
- test-6.0-replica_set
3936-
- test-6.0-sharded_cluster
3937-
- test-5.0-server
3938-
- test-5.0-replica_set
3939-
- test-5.0-sharded_cluster
3940-
- test-4.4-server
3941-
- test-4.4-replica_set
3942-
- test-4.4-sharded_cluster
3943-
- test-4.2-server
3944-
- test-4.2-replica_set
3945-
- test-4.2-sharded_cluster
3946-
- test-latest-server-v1-api
3947-
- test-socks5-tls
3948-
- test-snappy-compression
3949-
- test-zstd-compression
3950-
- test-tls-support-latest
3951-
- test-tls-support-8.0
3952-
- test-tls-support-7.0
3953-
- test-tls-support-6.0
3954-
- test-tls-support-5.0
3955-
- test-tls-support-4.4
3956-
- test-tls-support-4.2
39573860
- name: rhel8-node20.19.0-test-csfle-mongocryptd
39583861
display_name: rhel 8 Node20.19.0 test mongocryptd
39593862
run_on: rhel80-large
@@ -4116,3 +4019,47 @@ buildvariants:
41164019
run_on: rhel80-large
41174020
tasks:
41184021
- .ssl
4022+
- name: rhel8-nodeless
4023+
display_name: Nodeless
4024+
run_on: rhel80-large
4025+
tasks:
4026+
- test-latest-server
4027+
- test-latest-replica_set
4028+
- test-latest-sharded_cluster
4029+
- test-rapid-server
4030+
- test-rapid-replica_set
4031+
- test-rapid-sharded_cluster
4032+
- test-latest-server-v1-api
4033+
- test-x509-authentication
4034+
- test-atlas-connectivity
4035+
- test-rapid-load-balanced
4036+
- test-latest-load-balanced
4037+
- test-auth-kerberos
4038+
- test-auth-ldap
4039+
- test-socks5-csfle
4040+
- test-socks5-tls
4041+
- test-snappy-compression
4042+
- test-zstd-compression
4043+
- test-tls-support-latest
4044+
- name: windows-nodeless
4045+
display_name: Windows Nodeless
4046+
run_on: windows-2022-latest-large
4047+
tasks:
4048+
- test-latest-server
4049+
- test-latest-replica_set
4050+
- test-latest-sharded_cluster
4051+
- test-rapid-server
4052+
- test-rapid-replica_set
4053+
- test-rapid-sharded_cluster
4054+
- test-latest-server-v1-api
4055+
- test-x509-authentication
4056+
- test-atlas-connectivity
4057+
- test-rapid-load-balanced
4058+
- test-latest-load-balanced
4059+
- test-auth-kerberos
4060+
- test-auth-ldap
4061+
- test-socks5-csfle
4062+
- test-socks5-tls
4063+
- test-snappy-compression
4064+
- test-zstd-compression
4065+
- test-tls-support-latest

.evergreen/generate_evergreen_tasks.js

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -417,20 +417,6 @@ for (const {
417417
}
418418
BUILD_VARIANTS.push(buildVariantData);
419419
}
420-
421-
// add Node-less variant
422-
const buildVariantData = {
423-
name: `${osName}-nodeless`,
424-
display_name: `${osDisplayName} Nodeless`,
425-
run_on,
426-
expansions: {
427-
MONGODB_BUNDLED: true,
428-
NODE_LTS_VERSION: 'latest'
429-
},
430-
tasks: tasks.map(({ name }) => name)
431-
};
432-
buildVariantData.expansions.CLIENT_ENCRYPTION = clientEncryption;
433-
BUILD_VARIANTS.push(buildVariantData);
434420
}
435421

436422
// Running CSFLE tests with mongocryptd
@@ -826,6 +812,40 @@ BUILD_VARIANTS.push({
826812
tasks: ['.ssl']
827813
});
828814

815+
// small subset of tests to run on nodeless environments
816+
const nodelessTasks = [
817+
'test-latest-server',
818+
'test-latest-replica_set',
819+
'test-latest-sharded_cluster',
820+
'test-rapid-server',
821+
'test-rapid-replica_set',
822+
'test-rapid-sharded_cluster',
823+
'test-latest-server-v1-api',
824+
'test-x509-authentication',
825+
'test-atlas-connectivity',
826+
'test-rapid-load-balanced',
827+
'test-latest-load-balanced',
828+
'test-auth-kerberos',
829+
'test-auth-ldap',
830+
'test-socks5-csfle',
831+
'test-socks5-tls',
832+
'test-snappy-compression',
833+
'test-zstd-compression',
834+
'test-tls-support-latest',
835+
]
836+
BUILD_VARIANTS.push({
837+
name: 'rhel8-nodeless',
838+
display_name: 'Nodeless',
839+
run_on: DEFAULT_OS,
840+
tasks: nodelessTasks
841+
});
842+
BUILD_VARIANTS.push({
843+
name: 'windows-nodeless',
844+
display_name: 'Windows Nodeless',
845+
run_on: WINDOWS_OS,
846+
tasks: nodelessTasks
847+
});
848+
829849
// TODO(NODE-4897): Debug socks5 tests on node latest
830850
for (const variant of BUILD_VARIANTS.filter(
831851
variant => variant.expansions && ['latest'].includes(variant.expansions.NODE_LTS_VERSION)

0 commit comments

Comments
 (0)