Skip to content

Commit

Permalink
ci(tests): add e2e tests for 8.0 COMPASS-7951 (mongodb-js#5834)
Browse files Browse the repository at this point in the history
e2e tests for 8.0
  • Loading branch information
mabaasit authored May 24, 2024
1 parent 545109e commit 763ed2e
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .evergreen/buildvariants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ buildvariants:
- name: test-packaged-app-70x-enterprise
depends_on: package-compass

- name: test-packaged-app-80x-community
depends_on: package-compass

- name: test-packaged-app-80x-enterprise
depends_on: package-compass

- name: test-packaged-app-latest
depends_on: package-compass

Expand Down Expand Up @@ -146,6 +152,12 @@ buildvariants:
- name: test-packaged-app-70x-enterprise
depends_on: package-compass

- name: test-packaged-app-80x-community
depends_on: package-compass

- name: test-packaged-app-80x-enterprise
depends_on: package-compass

- name: test-packaged-app-latest
depends_on: package-compass

Expand Down Expand Up @@ -201,6 +213,12 @@ buildvariants:
- name: test-packaged-app-70x-enterprise
depends_on: package-compass

- name: test-packaged-app-80x-community
depends_on: package-compass

- name: test-packaged-app-80x-enterprise
depends_on: package-compass

- name: macos
display_name: MacOS x64 11.00 (Test and Package)
run_on: macos-1100
Expand Down Expand Up @@ -234,6 +252,14 @@ buildvariants:
run_on: macos-1100-gui
depends_on: package-compass

- name: test-packaged-app-80x-community
run_on: macos-1100-gui
depends_on: package-compass

- name: test-packaged-app-80x-enterprise
run_on: macos-1100-gui
depends_on: package-compass

- name: macos-arm
display_name: MacOS arm64 11.00 (Test and Package)
run_on: macos-1100-arm64
Expand Down Expand Up @@ -266,3 +292,11 @@ buildvariants:
- name: test-packaged-app-70x-enterprise
run_on: macos-1100-arm64-gui
depends_on: package-compass

- name: test-packaged-app-80x-community
run_on: macos-1100-arm64-gui
depends_on: package-compass

- name: test-packaged-app-80x-enterprise
run_on: macos-1100-arm64-gui
depends_on: package-compass
12 changes: 12 additions & 0 deletions .evergreen/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,18 @@
"mongodb_version": "7.0.x-enterprise"
}
},
{
"name": "80x-community",
"vars": {
"mongodb_version": ">= 8.0.0-rc4"
}
},
{
"name": "80x-enterprise",
"vars": {
"mongodb_version": ">= 8.0.0-rc4-enterprise"
}
},
{
"name": "latest",
"vars": {
Expand Down
40 changes: 40 additions & 0 deletions .evergreen/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,46 @@ tasks:
compass_distribution: compass
debug: 'compass-e2e-tests*,electron*,hadron*,mongo*'

- name: test-packaged-app-80x-community
tags: ['required-for-publish', 'run-on-pr']
commands:
- func: prepare
- func: install
- func: bootstrap
vars:
scope: 'compass-e2e-tests'
- func: apply-compass-target-expansion
vars:
compass_distribution: compass
- func: get-packaged-app
vars:
compass_distribution: compass
- func: test-packaged-app
vars:
mongodb_version: '>= 8.0.0-rc4'
compass_distribution: compass
debug: 'compass-e2e-tests*,electron*,hadron*,mongo*'

- name: test-packaged-app-80x-enterprise
tags: ['required-for-publish', 'run-on-pr']
commands:
- func: prepare
- func: install
- func: bootstrap
vars:
scope: 'compass-e2e-tests'
- func: apply-compass-target-expansion
vars:
compass_distribution: compass
- func: get-packaged-app
vars:
compass_distribution: compass
- func: test-packaged-app
vars:
mongodb_version: '>= 8.0.0-rc4-enterprise'
compass_distribution: compass
debug: 'compass-e2e-tests*,electron*,hadron*,mongo*'

- name: test-packaged-app-latest
tags: ['required-for-publish', 'run-on-pr']
commands:
Expand Down

0 comments on commit 763ed2e

Please sign in to comment.