Skip to content

Commit e883a0e

Browse files
Merge remote-tracking branch 'origin/main' into beta-releases
2 parents 4d5f035 + 230ba1d commit e883a0e

File tree

116 files changed

+5804
-6099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+5804
-6099
lines changed

.evergreen/buildvariants-and-tasks.in.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ const TEST_PACKAGED_APP_BUILD_VARIANTS = [
108108
];
109109
110110
const EOL_SERVER_VERSIONS = [
111-
{ name: '40x-community', version: '4.0.x' },
112-
{ name: '40x-enterprise', version: '4.0.x-enterprise' },
113-
{ name: '42x-community', version: '4.2.x' },
114-
{ name: '42x-enterprise', version: '4.2.x-enterprise' },
115111
{ name: '44x-community', version: '4.4.x' },
116112
{ name: '44x-enterprise', version: '4.4.x-enterprise' },
117113
{ name: '5x-community', version: '5.x.x' },

.evergreen/buildvariants-and-tasks.yml

Lines changed: 0 additions & 288 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,6 @@ buildvariants:
120120
- name: package-compass
121121
variant: package-ubuntu
122122
tasks:
123-
- name: test-server-40x-community-1
124-
- name: test-server-40x-community-2
125-
- name: test-server-40x-community-3
126-
- name: test-server-40x-enterprise-1
127-
- name: test-server-40x-enterprise-2
128-
- name: test-server-40x-enterprise-3
129-
- name: test-server-42x-community-1
130-
- name: test-server-42x-community-2
131-
- name: test-server-42x-community-3
132-
- name: test-server-42x-enterprise-1
133-
- name: test-server-42x-enterprise-2
134-
- name: test-server-42x-enterprise-3
135123
- name: test-server-44x-community-1
136124
- name: test-server-44x-community-2
137125
- name: test-server-44x-community-3
@@ -517,282 +505,6 @@ tasks:
517505
- func: smoketest-on-github-actions
518506
vars:
519507
debug: compass-e2e-tests*,electron*,hadron*,mongo*
520-
- name: test-server-40x-community-1
521-
tags:
522-
- required-for-publish
523-
- run-on-pr
524-
commands:
525-
- func: prepare
526-
- func: install
527-
- func: bootstrap
528-
vars:
529-
scope: compass-e2e-tests
530-
- func: apply-compass-target-expansion
531-
vars:
532-
compass_distribution: compass
533-
- func: get-packaged-app
534-
vars:
535-
compass_distribution: compass
536-
- func: test-packaged-app
537-
vars:
538-
mongodb_version: 4.0.x
539-
compass_distribution: compass
540-
e2e_test_groups: 3
541-
e2e_test_group: 1
542-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
543-
- name: test-server-40x-community-2
544-
tags:
545-
- required-for-publish
546-
- run-on-pr
547-
commands:
548-
- func: prepare
549-
- func: install
550-
- func: bootstrap
551-
vars:
552-
scope: compass-e2e-tests
553-
- func: apply-compass-target-expansion
554-
vars:
555-
compass_distribution: compass
556-
- func: get-packaged-app
557-
vars:
558-
compass_distribution: compass
559-
- func: test-packaged-app
560-
vars:
561-
mongodb_version: 4.0.x
562-
compass_distribution: compass
563-
e2e_test_groups: 3
564-
e2e_test_group: 2
565-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
566-
- name: test-server-40x-community-3
567-
tags:
568-
- required-for-publish
569-
- run-on-pr
570-
commands:
571-
- func: prepare
572-
- func: install
573-
- func: bootstrap
574-
vars:
575-
scope: compass-e2e-tests
576-
- func: apply-compass-target-expansion
577-
vars:
578-
compass_distribution: compass
579-
- func: get-packaged-app
580-
vars:
581-
compass_distribution: compass
582-
- func: test-packaged-app
583-
vars:
584-
mongodb_version: 4.0.x
585-
compass_distribution: compass
586-
e2e_test_groups: 3
587-
e2e_test_group: 3
588-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
589-
- name: test-server-40x-enterprise-1
590-
tags:
591-
- required-for-publish
592-
- run-on-pr
593-
commands:
594-
- func: prepare
595-
- func: install
596-
- func: bootstrap
597-
vars:
598-
scope: compass-e2e-tests
599-
- func: apply-compass-target-expansion
600-
vars:
601-
compass_distribution: compass
602-
- func: get-packaged-app
603-
vars:
604-
compass_distribution: compass
605-
- func: test-packaged-app
606-
vars:
607-
mongodb_version: 4.0.x-enterprise
608-
compass_distribution: compass
609-
e2e_test_groups: 3
610-
e2e_test_group: 1
611-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
612-
- name: test-server-40x-enterprise-2
613-
tags:
614-
- required-for-publish
615-
- run-on-pr
616-
commands:
617-
- func: prepare
618-
- func: install
619-
- func: bootstrap
620-
vars:
621-
scope: compass-e2e-tests
622-
- func: apply-compass-target-expansion
623-
vars:
624-
compass_distribution: compass
625-
- func: get-packaged-app
626-
vars:
627-
compass_distribution: compass
628-
- func: test-packaged-app
629-
vars:
630-
mongodb_version: 4.0.x-enterprise
631-
compass_distribution: compass
632-
e2e_test_groups: 3
633-
e2e_test_group: 2
634-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
635-
- name: test-server-40x-enterprise-3
636-
tags:
637-
- required-for-publish
638-
- run-on-pr
639-
commands:
640-
- func: prepare
641-
- func: install
642-
- func: bootstrap
643-
vars:
644-
scope: compass-e2e-tests
645-
- func: apply-compass-target-expansion
646-
vars:
647-
compass_distribution: compass
648-
- func: get-packaged-app
649-
vars:
650-
compass_distribution: compass
651-
- func: test-packaged-app
652-
vars:
653-
mongodb_version: 4.0.x-enterprise
654-
compass_distribution: compass
655-
e2e_test_groups: 3
656-
e2e_test_group: 3
657-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
658-
- name: test-server-42x-community-1
659-
tags:
660-
- required-for-publish
661-
- run-on-pr
662-
commands:
663-
- func: prepare
664-
- func: install
665-
- func: bootstrap
666-
vars:
667-
scope: compass-e2e-tests
668-
- func: apply-compass-target-expansion
669-
vars:
670-
compass_distribution: compass
671-
- func: get-packaged-app
672-
vars:
673-
compass_distribution: compass
674-
- func: test-packaged-app
675-
vars:
676-
mongodb_version: 4.2.x
677-
compass_distribution: compass
678-
e2e_test_groups: 3
679-
e2e_test_group: 1
680-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
681-
- name: test-server-42x-community-2
682-
tags:
683-
- required-for-publish
684-
- run-on-pr
685-
commands:
686-
- func: prepare
687-
- func: install
688-
- func: bootstrap
689-
vars:
690-
scope: compass-e2e-tests
691-
- func: apply-compass-target-expansion
692-
vars:
693-
compass_distribution: compass
694-
- func: get-packaged-app
695-
vars:
696-
compass_distribution: compass
697-
- func: test-packaged-app
698-
vars:
699-
mongodb_version: 4.2.x
700-
compass_distribution: compass
701-
e2e_test_groups: 3
702-
e2e_test_group: 2
703-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
704-
- name: test-server-42x-community-3
705-
tags:
706-
- required-for-publish
707-
- run-on-pr
708-
commands:
709-
- func: prepare
710-
- func: install
711-
- func: bootstrap
712-
vars:
713-
scope: compass-e2e-tests
714-
- func: apply-compass-target-expansion
715-
vars:
716-
compass_distribution: compass
717-
- func: get-packaged-app
718-
vars:
719-
compass_distribution: compass
720-
- func: test-packaged-app
721-
vars:
722-
mongodb_version: 4.2.x
723-
compass_distribution: compass
724-
e2e_test_groups: 3
725-
e2e_test_group: 3
726-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
727-
- name: test-server-42x-enterprise-1
728-
tags:
729-
- required-for-publish
730-
- run-on-pr
731-
commands:
732-
- func: prepare
733-
- func: install
734-
- func: bootstrap
735-
vars:
736-
scope: compass-e2e-tests
737-
- func: apply-compass-target-expansion
738-
vars:
739-
compass_distribution: compass
740-
- func: get-packaged-app
741-
vars:
742-
compass_distribution: compass
743-
- func: test-packaged-app
744-
vars:
745-
mongodb_version: 4.2.x-enterprise
746-
compass_distribution: compass
747-
e2e_test_groups: 3
748-
e2e_test_group: 1
749-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
750-
- name: test-server-42x-enterprise-2
751-
tags:
752-
- required-for-publish
753-
- run-on-pr
754-
commands:
755-
- func: prepare
756-
- func: install
757-
- func: bootstrap
758-
vars:
759-
scope: compass-e2e-tests
760-
- func: apply-compass-target-expansion
761-
vars:
762-
compass_distribution: compass
763-
- func: get-packaged-app
764-
vars:
765-
compass_distribution: compass
766-
- func: test-packaged-app
767-
vars:
768-
mongodb_version: 4.2.x-enterprise
769-
compass_distribution: compass
770-
e2e_test_groups: 3
771-
e2e_test_group: 2
772-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
773-
- name: test-server-42x-enterprise-3
774-
tags:
775-
- required-for-publish
776-
- run-on-pr
777-
commands:
778-
- func: prepare
779-
- func: install
780-
- func: bootstrap
781-
vars:
782-
scope: compass-e2e-tests
783-
- func: apply-compass-target-expansion
784-
vars:
785-
compass_distribution: compass
786-
- func: get-packaged-app
787-
vars:
788-
compass_distribution: compass
789-
- func: test-packaged-app
790-
vars:
791-
mongodb_version: 4.2.x-enterprise
792-
compass_distribution: compass
793-
e2e_test_groups: 3
794-
e2e_test_group: 3
795-
debug: compass-e2e-tests*,electron*,hadron*,mongo*
796508
- name: test-server-44x-community-1
797509
tags:
798510
- required-for-publish

.github/workflows/test-installers.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Test Installers
33
permissions:
44
contents: read
55

6+
# Using "bash" everywhere to make "--" separation of arguments work predictively when invoking NPM script on Windows
7+
defaults:
8+
run:
9+
shell: bash
10+
611
on:
712
workflow_dispatch:
813
inputs:
@@ -176,7 +181,7 @@ jobs:
176181
- name: Setup Node.js
177182
uses: actions/setup-node@v4
178183
with:
179-
node-version: 22
184+
node-version: 22.15.1
180185
cache: 'npm'
181186

182187
- name: Run post-checkout command
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Update ESLint
2+
3+
# Runs nightly and manually
4+
on:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: '0 0 * * *'
8+
9+
permissions:
10+
contents: none # We use the github app token to push the changes
11+
12+
jobs:
13+
update_eslint:
14+
name: Update ESLint
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Create Github App Token
18+
uses: mongodb-js/devtools-shared/actions/setup-bot-token@main
19+
id: app-token
20+
with:
21+
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
22+
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
23+
24+
- uses: actions/checkout@v4
25+
with:
26+
# don't checkout a detatched HEAD
27+
ref: ${{ github.head_ref || github.ref_name }}
28+
token: ${{ steps.app-token.outputs.token }}
29+
30+
- uses: actions/setup-node@v4
31+
with:
32+
node-version: 22.15.1
33+
cache: 'npm'
34+
35+
- name: Install [email protected]
36+
run: |
37+
npm install -g [email protected]
38+
39+
- name: Bump eslint
40+
run: |
41+
npm i --save eslint@8 -w @mongodb-js/eslint-config-compass
42+
43+
- name: Create Pull Request
44+
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5
45+
with:
46+
token: ${{ steps.app-token.outputs.token }}
47+
commit-message: 'chore(deps): update eslint'
48+
branch: ci/update-eslint
49+
title: 'chore(deps): update eslint'
50+
labels: no-title-validation
51+
author: '${{ steps.app-token.outputs.app-slug}}[bot] <${{ steps.app-token.outputs.app-email }}>'
52+
body: |
53+
- Update ESLint to latest 8

0 commit comments

Comments
 (0)