Skip to content

Commit

Permalink
test(NODE-3777): split out csfle config
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Feb 9, 2022
1 parent 0635969 commit 12f2378
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 5 deletions.
20 changes: 17 additions & 3 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ tasks:
vars:
VERSION: '5.0'
TOPOLOGY: server
- func: bootstrap kms servers
AUTH: auth
- func: run custom csfle tests
- name: run-custom-snappy-tests
tags:
Expand All @@ -1777,7 +1777,7 @@ tasks:
vars:
VERSION: '5.0'
TOPOLOGY: server
- func: bootstrap kms servers
AUTH: auth
- func: run custom snappy tests
- name: run-bson-ext-test
tags:
Expand All @@ -1790,10 +1790,23 @@ tasks:
vars:
VERSION: '5.0'
TOPOLOGY: server
- func: bootstrap kms servers
AUTH: auth
- func: run bson-ext test
vars:
NODE_LTS_NAME: erbium
- name: run-custom-csfle-tests
tags:
- run-custom-dependency-tests
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
- func: bootstrap mongo-orchestration
vars:
VERSION: latest
TOPOLOGY: server
- func: bootstrap kms servers
- func: run custom csfle tests
- name: test-latest-server-noauth
tags:
- latest
Expand Down Expand Up @@ -2346,6 +2359,7 @@ buildvariants:
- run-custom-csfle-tests
- run-custom-snappy-tests
- run-bson-ext-test
- run-custom-csfle-tests
- name: ubuntu1804-test-serverless
display_name: Serverless Test
run_on: ubuntu1804-test
Expand Down
26 changes: 24 additions & 2 deletions .evergreen/generate_evergreen_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,14 +664,36 @@ const oneOffFuncAsTasks = oneOffFuncs.map(oneOffFunc => ({
func: 'bootstrap mongo-orchestration',
vars: {
VERSION: '5.0',
TOPOLOGY: 'server'
TOPOLOGY: 'server',
AUTH: 'auth'
}
},
{ func: 'bootstrap kms servers' },
oneOffFunc
]
}));

oneOffFuncAsTasks.push({
name: 'run-custom-csfle-tests',
tags: ['run-custom-dependency-tests'],
commands: [
{
func: 'install dependencies',
vars: {
NODE_LTS_NAME: LOWEST_LTS
}
},
{
func: 'bootstrap mongo-orchestration',
vars: {
VERSION: 'latest',
TOPOLOGY: 'server'
}
},
{ func: 'bootstrap kms servers' },
{ func: 'run custom csfle tests' }
]
});

// TODO NODE-3897 - generate combined coverage report
const coverageTask = {
name: 'download and merge coverage'.split(' ').join('-'),
Expand Down

0 comments on commit 12f2378

Please sign in to comment.