Skip to content

Commit 5db818c

Browse files
authored
chore(NODE-7288): add fle 7.0.0 test to ci (mongodb#4785)
1 parent 6ba978e commit 5db818c

File tree

2 files changed

+40
-22
lines changed

2 files changed

+40
-22
lines changed

.evergreen/config.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1978,6 +1978,24 @@ tasks:
19781978
- func: install mongodb-client-encryption from source
19791979
- func: assume secrets manager role
19801980
- func: run custom csfle tests
1981+
- name: test-latest-driver-mongodb-client-encryption-7.0.0
1982+
tags:
1983+
- run-custom-dependency-tests
1984+
commands:
1985+
- command: expansions.update
1986+
type: setup
1987+
params:
1988+
updates:
1989+
- {key: NODE_LTS_VERSION, value: 20.19.0}
1990+
- {key: VERSION, value: '7.0'}
1991+
- {key: TOPOLOGY, value: replica_set}
1992+
- {key: CLIENT_ENCRYPTION, value: 'true'}
1993+
- func: install dependencies
1994+
- func: bootstrap mongo-orchestration
1995+
- func: install package
1996+
vars:
1997+
PACKAGE: mongodb-client-encryption@7.0.0
1998+
- func: run tests
19811999
- name: test-alpine-fle
19822000
tags:
19832001
- alpine-fle
@@ -3169,6 +3187,7 @@ buildvariants:
31693187
- run-custom-csfle-tests-5.0
31703188
- run-custom-csfle-tests-rapid
31713189
- run-custom-csfle-tests-latest
3190+
- test-latest-driver-mongodb-client-encryption-7.0.0
31723191
- name: rhel8-test-gcp-kms
31733192
display_name: GCP KMS Test
31743193
run_on: debian11-small

.evergreen/generate_evergreen_tasks.js

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -586,28 +586,27 @@ for (const serverVersion of ['5.0', 'rapid', 'latest']) {
586586
});
587587
}
588588

589-
// TODO(NODE-6997): update to 7.0.0 after release
590-
// customDependencyTests.push({
591-
// name: `test-latest-driver-mongodb-client-encryption-6.0.0`,
592-
// tags: ['run-custom-dependency-tests'],
593-
// commands: [
594-
// updateExpansions({
595-
// NODE_LTS_VERSION: LOWEST_LTS,
596-
// VERSION: '7.0',
597-
// TOPOLOGY: 'replica_set',
598-
// CLIENT_ENCRYPTION: true
599-
// }),
600-
// { func: 'install dependencies' },
601-
// { func: 'bootstrap mongo-orchestration' },
602-
// {
603-
// func: 'install package',
604-
// vars: {
605-
// PACKAGE: 'mongodb-client-encryption@6.0.0'
606-
// }
607-
// },
608-
// { func: 'run tests' }
609-
// ]
610-
// });
589+
customDependencyTests.push({
590+
name: `test-latest-driver-mongodb-client-encryption-7.0.0`,
591+
tags: ['run-custom-dependency-tests'],
592+
commands: [
593+
updateExpansions({
594+
NODE_LTS_VERSION: LOWEST_LTS,
595+
VERSION: '7.0',
596+
TOPOLOGY: 'replica_set',
597+
CLIENT_ENCRYPTION: true
598+
}),
599+
{ func: 'install dependencies' },
600+
{ func: 'bootstrap mongo-orchestration' },
601+
{
602+
func: 'install package',
603+
vars: {
604+
PACKAGE: 'mongodb-client-encryption@7.0.0'
605+
}
606+
},
607+
{ func: 'run tests' }
608+
]
609+
});
611610

612611
const coverageTask = {
613612
name: 'download and merge coverage'.split(' ').join('-'),

0 commit comments

Comments
 (0)