Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into beta-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 25, 2024
2 parents 891e77d + 5d49e65 commit ba075c8
Show file tree
Hide file tree
Showing 143 changed files with 5,757 additions and 4,235 deletions.
22 changes: 22 additions & 0 deletions .evergreen/buildvariants-and-tasks.in.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,14 @@ buildvariants:
- name: e2e-coverage-<%= group.number %>
<% } %>

- name: e2e-multiple-connections
display_name: E2E Multiple Connections
run_on: ubuntu2004-large
tasks:
<% for(const group of E2E_TEST_GROUPS) { %>
- name: e2e-multiple-connections-<%= group.number %>
<% } %>

- name: csfle-tests
display_name: CSFLE Tests
run_on: ubuntu2004-large
Expand Down Expand Up @@ -332,6 +340,20 @@ tasks:
debug: 'compass-e2e-tests*,electron*,hadron*,mongo*'
<% } %>

<% for(const group of E2E_TEST_GROUPS) { %>
- name: e2e-multiple-connections-<%= group.number %>
tags: ['required-for-publish', 'run-on-pr']
commands:
- func: prepare
- func: install
- func: bootstrap
- func: test-multiple-connections
vars:
e2e_test_groups: <%= E2E_TEST_GROUPS.length %>
e2e_test_group: <%= group.number %>
debug: 'compass-e2e-tests*,electron*,hadron*,mongo*'
<% } %>

- name: generate-vulnerability-report
tags: ['required-for-publish', 'run-on-pr']
commands:
Expand Down
46 changes: 46 additions & 0 deletions .evergreen/buildvariants-and-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,13 @@ buildvariants:
- name: e2e-coverage-1
- name: e2e-coverage-2
- name: e2e-coverage-3
- name: e2e-multiple-connections
display_name: E2E Multiple Connections
run_on: ubuntu2004-large
tasks:
- name: e2e-multiple-connections-1
- name: e2e-multiple-connections-2
- name: e2e-multiple-connections-3
- name: csfle-tests
display_name: CSFLE Tests
run_on: ubuntu2004-large
Expand Down Expand Up @@ -331,6 +338,45 @@ tasks:
e2e_test_groups: 3
e2e_test_group: 3
debug: compass-e2e-tests*,electron*,hadron*,mongo*
- name: e2e-multiple-connections-1
tags:
- required-for-publish
- run-on-pr
commands:
- func: prepare
- func: install
- func: bootstrap
- func: test-multiple-connections
vars:
e2e_test_groups: 3
e2e_test_group: 1
debug: compass-e2e-tests*,electron*,hadron*,mongo*
- name: e2e-multiple-connections-2
tags:
- required-for-publish
- run-on-pr
commands:
- func: prepare
- func: install
- func: bootstrap
- func: test-multiple-connections
vars:
e2e_test_groups: 3
e2e_test_group: 2
debug: compass-e2e-tests*,electron*,hadron*,mongo*
- name: e2e-multiple-connections-3
tags:
- required-for-publish
- run-on-pr
commands:
- func: prepare
- func: install
- func: bootstrap
- func: test-multiple-connections
vars:
e2e_test_groups: 3
e2e_test_group: 3
debug: compass-e2e-tests*,electron*,hadron*,mongo*
- name: generate-vulnerability-report
tags:
- required-for-publish
Expand Down
24 changes: 24 additions & 0 deletions .evergreen/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,30 @@ functions:
tar czf coverage.tgz packages/compass-e2e-tests/coverage
test-multiple-connections:
- command: shell.exec
# Fail the task if it's idle for 10 mins
timeout_secs: 600
params:
working_dir: src
shell: bash
env:
<<: *compass-env
DEBUG: ${debug|}
MONGODB_VERSION: ${mongodb_version|}
MONGODB_RUNNER_VERSION: ${mongodb_version|}
E2E_TEST_GROUPS: ${e2e_test_groups}
E2E_TEST_GROUP: ${e2e_test_group}
script: |
set -e
# Load environment variables
eval $(.evergreen/print-compass-env.sh)
echo "Running E2E tests for multiple connections"
npm run --unsafe-perm --workspace compass-e2e-tests test-ci -- -- --test-multiple-connections
test-packaged-app:
- command: shell.exec
# Fail the task if it's idle for 10 mins
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/authors-and-third-party-notices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr merge $PULL_REQUEST_NUMBER --squash --delete-branch
gh workflow run codeql.yml -r main
519 changes: 211 additions & 308 deletions THIRD-PARTY-NOTICES.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion configs/eslint-config-compass/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mongodb-js/eslint-config-compass",
"version": "1.1.1",
"version": "1.1.2",
"description": "Shared Compass eslint configuration",
"license": "SSPL",
"main": "index.js",
Expand Down
4 changes: 2 additions & 2 deletions configs/webpack-config-compass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"email": "compass@mongodb.com"
},
"homepage": "https://github.com/mongodb-js/compass",
"version": "1.3.10",
"version": "1.3.11",
"repository": {
"type": "git",
"url": "https://github.com/mongodb-js/compass.git"
Expand Down Expand Up @@ -45,7 +45,7 @@
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
},
"devDependencies": {
"@mongodb-js/eslint-config-compass": "^1.1.1",
"@mongodb-js/eslint-config-compass": "^1.1.2",
"@mongodb-js/prettier-config-compass": "^1.0.2",
"@mongodb-js/tsconfig-compass": "^1.0.4",
"@types/cli-progress": "^3.9.2",
Expand Down
Loading

0 comments on commit ba075c8

Please sign in to comment.