Skip to content

Commit a59000d

Browse files
Merge remote-tracking branch 'origin/main' into beta-releases
2 parents 8c61bf3 + 58907c1 commit a59000d

File tree

46 files changed

+503
-211
lines changed

Some content is hidden

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

46 files changed

+503
-211
lines changed

.evergreen/buildvariants.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ buildvariants:
150150
depends_on: package-compass
151151

152152
- name: rhel
153-
display_name: RHEL 7.6 (Test and Package)
154-
run_on: rhel76-large
153+
display_name: RHEL 8.0 (Test and Package)
154+
run_on: rhel80-large
155155
tasks:
156156
- name: check
157157

.evergreen/config.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"run_on": [
44
"ubuntu2004-large",
55
"windows-vsCurrent-large",
6-
"rhel76-large",
6+
"rhel80-large",
77
["macos-1100", { "gui": "macos-1100-gui" }],
88
["macos-1100-arm64", { "gui": "macos-1100-arm64-gui" }]
99
],
@@ -136,7 +136,7 @@
136136
"vars": {
137137
"mongodb_version": "latest-alpha-enterprise"
138138
},
139-
"skip_on": ["macos-1100", "macos-1100-arm64", "rhel76-large"]
139+
"skip_on": ["macos-1100", "macos-1100-arm64", "rhel80-large"]
140140
}
141141
],
142142
"test-web-sandbox": [
@@ -146,15 +146,15 @@
146146
"mongodb_version": "latest-alpha-enterprise",
147147
"browser_name": "chrome"
148148
},
149-
"skip_on": ["macos-1100", "macos-1100-arm64", "rhel76-large", "windows-vsCurrent-large"]
149+
"skip_on": ["macos-1100", "macos-1100-arm64", "rhel80-large", "windows-vsCurrent-large"]
150150
},
151151
{
152152
"name": "firefox",
153153
"vars": {
154154
"mongodb_version": "latest-alpha-enterprise",
155155
"browser_name": "firefox"
156156
},
157-
"skip_on": ["macos-1100", "macos-1100-arm64", "rhel76-large", "windows-vsCurrent-large"]
157+
"skip_on": ["macos-1100", "macos-1100-arm64", "rhel80-large", "windows-vsCurrent-large"]
158158
}
159159
]
160160
}
@@ -163,7 +163,7 @@
163163
"short": {
164164
"ubuntu2004-large": "ubuntu",
165165
"windows-vsCurrent-large": "windows",
166-
"rhel76-large": "rhel",
166+
"rhel80-large": "rhel",
167167
"macos-1100": "macos",
168168
"macos-1100-arm64": "macos-arm",
169169
"macos-1100-gui": "macos-gui",
@@ -172,7 +172,7 @@
172172
"long": {
173173
"ubuntu2004-large": "Ubuntu 20.04",
174174
"windows-vsCurrent-large": "Windows 10",
175-
"rhel76-large": "RHEL 7.6",
175+
"rhel80-large": "RHEL 8.0",
176176
"macos-1100": "MacOS x64 11.00",
177177
"macos-1100-arm64": "MacOS arm64 11.00",
178178
"macos-1100-gui": "MacOS x64 11.00 w/ GUI Session",

.evergreen/verify-artifacts.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARTIFACTS_DIR="packages/compass/dist"
66
echo "Verifying artifacts at $ARTIFACTS_DIR"
77
ls -l $ARTIFACTS_DIR
88

9-
# Use tmp directory for all gpg operations
9+
# Use tmp directory for all gpg operations/the rpm database
1010
GPG_HOME=$(mktemp -d)
1111
TMP_FILE=$(mktemp)
1212
COMPASS_KEY="https://pgp.mongodb.com/compass.asc"
@@ -45,16 +45,14 @@ verify_using_rpm() {
4545
# RPM packages are signed using gpg and the signature is embedded in the package.
4646
# Here, we need to import the key in `rpm` and then verify the signature.
4747
echo "Importing key into rpm"
48-
rpm --import $COMPASS_KEY > "$TMP_FILE" 2>&1
49-
# Even if the file is not signed, the command below will exit with 0 and output something like: sha1 md5 OK
48+
rpm --dbpath "$GPG_HOME" --import $COMPASS_KEY > "$TMP_FILE" 2>&1
49+
# Even if the file is not signed, the command below will exit with 0 and output something like: digests OK
5050
# So we need to check the output of the command to see if the file is signed successfully.
5151
echo "Verifying $1 using rpm"
52-
output=$(rpm -K $ARTIFACTS_DIR/$1)
53-
# Remove the imported key from rpm
54-
rpm -e $(rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release}:%{summary}\n' | grep compass | awk -F: '{print $1}')
55-
52+
output=$(rpm --dbpath "$GPG_HOME" -K $ARTIFACTS_DIR/$1)
53+
5654
# Check if the output contains the string "pgp md5 OK"
57-
if [[ $output != *"pgp md5 OK"* ]]; then
55+
if [[ $output != *"digests signatures OK"* ]]; then
5856
echo "File $1 is not signed"
5957
exit 1
6058
fi
@@ -84,4 +82,4 @@ elif [ "$IS_OSX" = true ]; then
8482
else
8583
echo "Unknown OS, failed to verify file signing"
8684
exit 1
87-
fi
85+
fi

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# Prefix the list here with "+" to use these queries and those in the config file.
5454

5555
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
56-
# queries: security-extended,security-and-quality
56+
queries: security-extended,security-and-quality
5757
config: |
5858
paths-ignore:
5959
- '**/*.test.js'

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ Bailey Pearson <[email protected]>
8282
8383
Paula Stachova <[email protected]>
8484
85+

THIRD-PARTY-NOTICES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The following third-party software is used by and included in **Mongodb Compass**.
2-
This document was automatically generated on Sun Apr 14 2024.
2+
This document was automatically generated on Wed Apr 17 2024.
33

44
## List of dependencies
55

configs/webpack-config-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"cli-progress": "^3.9.1",
7575
"core-js": "^3.17.3",
7676
"css-loader": "^4.3.0",
77-
"electron": "^28.2.10",
77+
"electron": "^29.3.0",
7878
"html-webpack-plugin": "^5.3.2",
7979
"less-loader": "^10.0.1",
8080
"mini-css-extract-plugin": "^2.3.0",

0 commit comments

Comments
 (0)