Skip to content

Commit 0f58e71

Browse files
authored
Merge branch 'main' into misc-multiple-connecitons-cleanup
2 parents 239500e + 0f73014 commit 0f58e71

File tree

63 files changed

+1480
-1097
lines changed

Some content is hidden

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

63 files changed

+1480
-1097
lines changed

.evergreen.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
stepback: false
22
exec_timeout_secs: 5400
33
ignore:
4+
- docs/**/*.md
45
- AUTHORS
6+
- CODE_OF_CONDUCT.md
7+
- CONTRIBUTING.md
8+
- README.md
59
- THIRD-PARTY-NOTICES.md
610
include:
711
- filename: .evergreen/functions.yml

.evergreen/connectivity-tests/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ docker run \
2222
-e E2E_TESTS_FREE_TIER_HOST="${E2E_TESTS_FREE_TIER_HOST}" \
2323
-e E2E_TESTS_ATLAS_USERNAME="${E2E_TESTS_ATLAS_USERNAME}" \
2424
-e E2E_TESTS_ATLAS_PASSWORD="${E2E_TESTS_ATLAS_PASSWORD}" \
25-
-e E2E_TESTS_ATLAS_X509_PEM="${E2E_TESTS_ATLAS_X509_PEM}" \
25+
-e E2E_TESTS_ATLAS_X509_PEM_BASE64="${E2E_TESTS_ATLAS_X509_PEM_BASE64}" \
2626
-e MONGODB_VERSION="${MONGODB_VERSION}" \
2727
--add-host mongodb-kerberos-1.example.com:0.0.0.0 \
2828
--add-host mongodb-kerberos-2.example.com:0.0.0.0 \

.evergreen/functions.yml

Lines changed: 32 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ variables:
4545
# secrets
4646
HADRON_METRICS_INTERCOM_APP_ID: ${metrics_intercom_app_id}
4747
HADRON_METRICS_SEGMENT_API_KEY: ${metrics_segment_api_key}
48+
GITHUB_TOKEN: ${devtoolsbot_github_token}
49+
DOWNLOAD_CENTER_AWS_ACCESS_KEY_ID: ${aws_key_evergreen_integrations}
50+
DOWNLOAD_CENTER_AWS_SECRET_ACCESS_KEY: ${aws_secret_evergreen_integrations}
51+
EVERGREEN_BUCKET_NAME: mciuploads
52+
EVERGREEN_BUCKET_KEY_PREFIX: ${project}/${revision}_${revision_order_id}
53+
MONGODB_RUNNER_LOG_DIR: ${workdir}/src/.testserver/
54+
DOCKERHUB_USERNAME: ${dockerhub_username}
55+
DOCKERHUB_PASSWORD: ${dockerhub_password}
56+
- &compass-e2e-secrets
4857
E2E_TESTS_METRICS_URI: ${e2e_tests_metrics_string}
4958
E2E_TESTS_ATLAS_HOST: ${e2e_tests_atlas_host}
5059
E2E_TESTS_DATA_LAKE_HOST: ${e2e_tests_data_lake_host}
@@ -53,7 +62,7 @@ variables:
5362
E2E_TESTS_FREE_TIER_HOST: ${e2e_tests_free_tier_host}
5463
E2E_TESTS_ATLAS_USERNAME: ${e2e_tests_atlas_username}
5564
E2E_TESTS_ATLAS_PASSWORD: ${e2e_tests_atlas_password}
56-
E2E_TESTS_ATLAS_X509_PEM: ${e2e_tests_atlas_x509_pem}
65+
E2E_TESTS_ATLAS_X509_PEM_BASE64: ${e2e_tests_atlas_x509_pem_base64}
5766
E2E_TESTS_ATLAS_IAM_ACCESS_KEY_ID: ${e2e_tests_atlas_iam_aws_access_key_id}
5867
E2E_TESTS_ATLAS_IAM_SECRET_ACCESS_KEY: ${e2e_tests_atlas_iam_aws_secret_access_key}
5968
E2E_TESTS_ATLAS_IAM_TEMP_ROLE_ARN: ${e2e_tests_atlas_iam_temp_role_arn}
@@ -62,24 +71,8 @@ variables:
6271
E2E_TESTS_ATLAS_READANYDATABASE_STRING: ${e2e_tests_atlas_readanydatabase_string}
6372
E2E_TESTS_ATLAS_CUSTOMROLE_STRING: ${e2e_tests_atlas_customrole_string}
6473
E2E_TESTS_ATLAS_SPECIFICPERMISSION_STRING: ${e2e_tests_atlas_specificpermission_string}
65-
MACOS_NOTARY_KEY: ${macos_notary_key}
66-
MACOS_NOTARY_SECRET: ${macos_notary_secret}
67-
MACOS_NOTARY_CLIENT_URL: 'https://macos-notary-1628249594.s3.amazonaws.com/releases/client/latest/darwin_amd64.zip'
68-
MACOS_NOTARY_API_URL: 'https://dev.macos-notary.build.10gen.cc/api'
69-
GITHUB_TOKEN: ${devtoolsbot_github_token}
70-
DOWNLOAD_CENTER_AWS_ACCESS_KEY_ID: ${aws_key_evergreen_integrations}
71-
DOWNLOAD_CENTER_AWS_SECRET_ACCESS_KEY: ${aws_secret_evergreen_integrations}
72-
EVERGREEN_BUCKET_NAME: mciuploads
73-
EVERGREEN_BUCKET_KEY_PREFIX: ${project}/${revision}_${revision_order_id}
74-
MONGODB_RUNNER_LOG_DIR: ${workdir}/src/.testserver/
7574
E2E_TESTS_ATLAS_CS_WITHOUT_SEARCH: ${e2e_tests_atlas_cs_without_search}
7675
E2E_TESTS_ATLAS_CS_WITH_SEARCH: ${e2e_tests_atlas_cs_with_search}
77-
GARASIGN_USERNAME: ${garasign_username}
78-
GARASIGN_PASSWORD: ${garasign_password}
79-
ARTIFACTORY_USERNAME: ${artifactory_username}
80-
ARTIFACTORY_PASSWORD: ${artifactory_password}
81-
DOCKERHUB_USERNAME: ${dockerhub_username}
82-
DOCKERHUB_PASSWORD: ${dockerhub_password}
8376

8477
# This is here with the variables because anchors aren't supported across includes
8578
post:
@@ -450,7 +443,7 @@ functions:
450443
script: |
451444
set -e
452445
453-
.evergreen/create-sbom.sh
446+
bash ".evergreen/retry-with-backoff.sh" .evergreen/create-sbom.sh
454447
- command: shell.exec
455448
params:
456449
working_dir: src
@@ -459,12 +452,25 @@ functions:
459452
<<: *compass-env
460453
DEBUG: ${debug}
461454
npm_config_loglevel: ${npm_loglevel}
462-
HADRON_DISTRIBUTION: ${compass_distribution}
455+
456+
# macOS signing secrets
457+
MACOS_NOTARY_KEY: ${macos_notary_key}
458+
MACOS_NOTARY_SECRET: ${macos_notary_secret}
459+
MACOS_NOTARY_CLIENT_URL: 'https://macos-notary-1628249594.s3.amazonaws.com/releases/client/latest/darwin_amd64.zip'
460+
MACOS_NOTARY_API_URL: 'https://dev.macos-notary.build.10gen.cc/api'
461+
462+
# linux / windows signing secrets
463+
GARASIGN_USERNAME: ${garasign_username}
464+
GARASIGN_PASSWORD: ${garasign_password}
465+
ARTIFACTORY_USERNAME: ${artifactory_username}
466+
ARTIFACTORY_PASSWORD: ${artifactory_password}
463467
SIGNING_SERVER_HOSTNAME: ${SIGNING_SERVER_HOSTNAME}
464468
SIGNING_SERVER_PRIVATE_KEY: ${SIGNING_SERVER_PRIVATE_KEY}
465469
SIGNING_SERVER_PRIVATE_KEY_CYGPATH: ${SIGNING_SERVER_PRIVATE_KEY_CYGPATH}
466470
SIGNING_SERVER_USERNAME: ${SIGNING_SERVER_USERNAME}
467471
SIGNING_SERVER_PORT: ${SIGNING_SERVER_PORT}
472+
473+
HADRON_DISTRIBUTION: ${compass_distribution}
468474
GITHUB_PR_NUMBER: ${github_pr_number}
469475
PAPERTRAIL_KEY_ID: ${papertrail_key_id}
470476
PAPERTRAIL_SECRET_KEY: ${papertrail_secret_key}
@@ -596,6 +602,7 @@ functions:
596602
shell: bash
597603
env:
598604
<<: *compass-env
605+
<<: *compass-e2e-secrets
599606
DEBUG: ${debug|}
600607
MONGODB_VERSION: ${mongodb_version|}
601608
MONGODB_RUNNER_VERSION: ${mongodb_version|}
@@ -625,6 +632,7 @@ functions:
625632
shell: bash
626633
env:
627634
<<: *compass-env
635+
<<: *compass-e2e-secrets
628636
COMPASS_APP_PATH_ORIGINAL: ${appPath}
629637
COMPASS_APP_NAME: ${packagerOptions.name}
630638
DEBUG: ${debug|}
@@ -660,6 +668,7 @@ functions:
660668
shell: bash
661669
env:
662670
<<: *compass-env
671+
<<: *compass-e2e-secrets
663672
DEBUG: ${debug|}
664673
MONGODB_VERSION: ${mongodb_version|}
665674
MONGODB_RUNNER_VERSION: ${mongodb_version|}
@@ -678,7 +687,7 @@ functions:
678687
if [[ "$IS_OSX" == "true" ]]; then
679688
echo "Disabling clipboard usage in e2e tests (TODO: https://jira.mongodb.org/browse/BUILD-14780)"
680689
export COMPASS_E2E_DISABLE_CLIPBOARD_USAGE="true"
681-
npm run --unsafe-perm --workspace compass-e2e-tests smoketest -- --package=osx_dmg
690+
npm run --unsafe-perm --workspace @mongodb-js/compass-smoke-tests start -- --package=osx_dmg
682691
# TODO: osx_zip
683692
fi
684693
@@ -692,7 +701,6 @@ functions:
692701
# TODO: rhel_tar
693702
#fi
694703
695-
696704
test-web-sandbox:
697705
- command: shell.exec
698706
# Fail the task if it's idle for 10 mins
@@ -702,6 +710,7 @@ functions:
702710
shell: bash
703711
env:
704712
<<: *compass-env
713+
<<: *compass-e2e-secrets
705714
COMPASS_APP_PATH_ORIGINAL: ${appPath}
706715
COMPASS_APP_NAME: ${packagerOptions.name}
707716
DEBUG: ${debug|}
@@ -716,7 +725,6 @@ functions:
716725
eval $(.evergreen/print-compass-env.sh)
717726
npm run --unsafe-perm --workspace compass-e2e-tests test-ci web
718727
719-
720728
test-web-sandbox-atlas-cloud:
721729
- command: shell.exec
722730
# It can take a very long time for Atlas cluster to get deployed
@@ -726,6 +734,7 @@ functions:
726734
shell: bash
727735
env:
728736
<<: *compass-env
737+
<<: *compass-e2e-secrets
729738
DEBUG: ${debug|}
730739
COMPASS_E2E_ATLAS_CLOUD_SANDBOX_USERNAME: ${e2e_tests_compass_web_atlas_username}
731740
COMPASS_E2E_ATLAS_CLOUD_SANDBOX_PASSWORD: ${e2e_tests_compass_web_atlas_password}
@@ -758,6 +767,7 @@ functions:
758767
shell: bash
759768
env:
760769
<<: *compass-env
770+
<<: *compass-e2e-secrets
761771
COMPASS_SKIP_KERBEROS_TESTS: 'true'
762772
COMPASS_RUN_DOCKER_TESTS: 'true'
763773
DEBUG: ${debug}

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 Wed Jan 15 2025.
2+
This document was automatically generated on Tue Jan 21 2025.
33

44
## List of dependencies
55

docs/tracking-plan.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Compass Tracking Plan
33

4-
Generated on Wed, Jan 15, 2025
4+
Generated on Tue, Jan 21, 2025
55

66
## Table of Contents
77

@@ -936,8 +936,6 @@ This event is fired when a collection is created.
936936

937937
**Properties**:
938938

939-
- **is_capped** (required): `boolean`
940-
- Indicates whether the collection is capped.
941939
- **has_collation** (required): `boolean`
942940
- Indicates whether the collection has a custom collation.
943941
- **is_timeseries** (required): `boolean`
@@ -960,8 +958,6 @@ This event is fired when a database is created.
960958

961959
**Properties**:
962960

963-
- **is_capped** (required): `boolean`
964-
- Indicates whether the first collection in the database is capped.
965961
- **has_collation** (required): `boolean`
966962
- Indicates whether the first collection in the database has a custom collation.
967963
- **is_timeseries** (required): `boolean`

0 commit comments

Comments
 (0)