From 763ed2e767b066a93cf2159732fda82c317ec3a4 Mon Sep 17 00:00:00 2001 From: Basit <1305718+mabaasit@users.noreply.github.com> Date: Fri, 24 May 2024 10:43:58 +0200 Subject: [PATCH] ci(tests): add e2e tests for 8.0 COMPASS-7951 (#5834) e2e tests for 8.0 --- .evergreen/buildvariants.yml | 34 ++++++++++++++++++++++++++++++ .evergreen/config.json | 12 +++++++++++ .evergreen/tasks.yml | 40 ++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) diff --git a/.evergreen/buildvariants.yml b/.evergreen/buildvariants.yml index 81c603aeb72..833d2853762 100644 --- a/.evergreen/buildvariants.yml +++ b/.evergreen/buildvariants.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.evergreen/config.json b/.evergreen/config.json index 18eac8fd0f0..58914e4dffb 100644 --- a/.evergreen/config.json +++ b/.evergreen/config.json @@ -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": { diff --git a/.evergreen/tasks.yml b/.evergreen/tasks.yml index 3f1f5af34b1..91462df043d 100644 --- a/.evergreen/tasks.yml +++ b/.evergreen/tasks.yml @@ -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: